Clarifying RxJS Observables under 5 minutes

Click for: original source

Observables are the essential elements of the Angular framework; you can’t do too many things without using them. An article by Gábor Soós.

While a Promise only emits the result once, Observables can emit multiple values over time.

The article is split into these sections:

  • Promises
  • Multiple results
  • Synchronous execution
  • Array methods

When learning Observables, the RxMarbles site can help to made them crystal clear. RxMarbles are graphical representations on a timeline describing the behavior of an Observable composition.

We liked: The subscriptions of an Observable will be executed synchronously after a value is passed in. Good read!

[Read More]

Tags nodejs javascript angular nodejs