RxJS#
RxJS is a library for composing asynchronous and event-based programs by using observable sequences.
For#
- Asynchronous programming
- Stream
3 way to design#
- Observer pattern
- Iterator pattern
- Functional programming
Observables#
Can be observed, and target can be anything
3 types of notifications
- next
- error
- complete
Observer#
A consumer of values delivered by an Observable
Operators#
Two types of operator#
-
- Pipeable Operators
- Can be piped to Observables using the syntax.
-
- Creation Operators
- Can be called as standalone functions to create a new Observables.
Commend operators#
Operators
-
From official website ↩