Chapter 7
Fixing Anti-Patterns and Practicing Unit Tests
Section 2
Control the Timing Strategy of Event Emissions with Schedulers
Learn what schedulers are and why it is crucial to know them for tricky Rx.JS cases. - Recall event loop, macrotasks, macrotasks queue, microtasks, and stack overflow in a browser - Explore synchronous schedulers: null scheduler and queueScheduler. Find out how they differ. Review such async schedulers: asapScheduler, AsyncScheduler. Learn about VirtualTimeScheduler and TestScheduler. - Apply these schedulers in practical cases with factory function arguments, observeOn, and subscribeOn