Skip to main content

Operators: pipe, map, filter, switchMap, mergeMap, concatMap, catchError, debounceTime

Learn Operators: pipe, map, filter, switchMap, mergeMap, concatMap, catchError, debounceTime (Phase 9 · RxJS and Reactive Programming (Core), Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

pipe() and transformation operators • pipe(op1, op2, ...) chains operators : pure functions that take an Observable and return a new one. Operators run in order for each value. • map(fn) transforms each value; filter(pred) lets values through; tap(fn) performs side effects (logging) without changing values; take(n) , first() , distinctUntilChanged() , startWith(x) , scan((acc, v) => ...) (running state) and reduce .

More lessons in Phase 9 · RxJS and Reactive Programming (Core)