RxJS 5 in-depth
summary
Walks through RxJS 5 code that actually builds operators and demos behavior: uses RxJS 5 create/off/subscribe to emit 1,2,3 then complete, implements map by subscribing and re-emitting (output 2,4,6) and filter to pass odds, builds an interval using setInterval and returning a cleanup function used to unsubscribe so it stops after unsubscribe, and contrasts Promise vs Observable timing showing observables run synchronously unless switched with a scheduler like async/queue via subscribeOn.
AI-written summary · about
chapters (9)
- 0:00Introduction and setup
- 1:58Observable basics and marble diagrams
- 7:34Error handling in observables
- 9:21Implementing interval operator
- 13:26Creating map operator from scratch
- 19:11Filter operator implementation
- 20:56Observable vs promise behavior
- 22:50Schedulers and async execution
- 24:20Q&A and resources
