Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
solutions
.gitignore
0-playground.js
02-exercise.js
03-exercise.js
04-exercise.js
05-exercise.html
06-exercise.html
07-exercise.html
08-exercise.html
09-exercise.html
10-exercise.html
higher01-example.js
higher02-switch.js
higher03-mergeAll.js
higher04-concatAll.js
readme.md
subjects-01-one-observer.js
subjects-02-hybrid.js
subjects-03-event-bus.js
subjects-03b-react.js
subjects-04-behavior.js
subjects-05-replay.js
subjects-06-connect.js
subjects-07-disconnect.js
subjects-08-refcount.js
subjects-09-shortcuts.js
subjects-10-avoidance.js

readme.md

Welcome!

Schedule

  • Motivation
  • Rx Observable, Observer, Subscription
  • Converting things to Observables
  • Basic operators
  • Debugging techniques
  • Subjects and multicasting
  • Observable of observables

Useful links:

Important operators

Creation:

  • create (low-level)
  • from
  • interval
  • fromEvent
  • fromPromise
  • of (alias for from(array))
  • bindNodeCallback

Transformation:

  • map
  • scan

Filtering:

  • filter
  • take
  • skip

Combination:

  • concat (one after the other)
  • merge (in parallel, "OR" semantics)
  • combineLatest (in parallel, "AND" semantics)
  • startWith(x) (alias for concat and of(x))

Multicasting:

  • multicast
  • publish (alias for multicast with a Subject)
  • publishBehavior (alias for multicast with a BehaviorSubject)
  • publishReplay (alias for multicast with a ReplaySubject)
  • refCount (only on observables returned from multicast)

Flattening:

  • switch (concurrency 1, with cancellation)
  • concatAll (concurrency 1, waits for completion)
  • mergeAll (infinite concurrency)

Others:

  • do
  • delay
You can’t perform that action at this time.