Return Multiple Values from Observables in RxJS

Share this video with your friends

Send Tweet

This lesson introduces the concept of an Observable. We will see how similar it behaves to a function and what is the fundamental difference between them.

Arnold  Krumins
Arnold Krumins
~ 8 years ago

How do you pass a value into a new Observable using Create. I see a lot of examples of .onNext(42), but how would this value be passed in?

Steve Cordrey
Steve Cordrey
~ 8 years ago

Wow. Thanks for making the comparison between functions and observables so easy to understand.

Patrick McDonald
Patrick McDonald
~ 7 years ago

Was there supposed to be further explanation regarding using the call() method? There wasn't much more said about it in this video or in the rest of the course.

André Staltz
André Staltz(instructor)
~ 7 years ago

Hi Patrick. Towards the end of this video I pointed out a symmetry with functions and Observables, where .call and .subscribe are semantically equivalent. Both will invoke the lazy computation and produce value(s) that is(are) returned.

Stephen James
Stephen James
~ 7 years ago

Andre thanks for all of these videos you make RxJs interesting and I really enjoy your style of building up the information from simpler concepts.