Operators for observables

Basically, operators are just functions: creation operators can be used to create observables out of many different sources, and pipeable operators can be applied to modify a stream, producing a new observable: we'll see many families of these, but for complete lists and descriptions, you should access https://www.learnrxjs.io/operators/ and https://rxjs.dev/guide/operators.

We won't be covering how to install RxJS; see https://rxjs.dev/guide/installation for all of the possibilities. In particular, in our examples, meant for a browser, we'll be installing version 6 of RxJS from a CDN, which creates a global rxjs variable, similar to jQuery's $ or LoDash's _ variables.

Let's begin by creating observables, and then ...

Get Mastering JavaScript Functional Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.