Custom RxJS operators
summary
Shows how to implement custom RxJS operators using pipeable operators (introduced in RxJS 5.5) and the OperatorFunction type, not just composing existing operators. Demonstrates extracting reusable operators like notNull, truthy, multiply and extractData (filters loading then maps data) and builds a new operator bufferDelay two ways: zip+Subject and lift+Subscriber; both implementations run in a live demo and behave as described. Notes ~103 built‑in operators exist but custom ones improve readability and reuse.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 0:27What are observables
- 1:19What are operators
- 1:57Filter operators
- 2:54Combining operators
- 4:10Visualizing operators
- 5:08Code
- 6:16Simple operators
- 6:40Multiple operators
- 7:50Operators
- 8:50Creating custom operators
- 10:01Creating parameterized operators
- 11:11Grouping operators
- 12:36Extract data operator
- 13:40Recipe for creating an operator
- 15:14Alternative recipe
- 17:32Buffer delay
- 18:54Identity
- 31:59Summary








