通过示例来学习 RxJS 操作符
RxJS 操作符的完整列表,每个操作符都有着清晰的解释、相关资源和可执行的示例。
内容 (按字母顺序)
- audit
- auditTime
- buffer
- bufferCount
- bufferTime
- bufferToggle
- bufferWhen
- catch / catchError
- combineAll
- combineLatest
- concat
- concatAll
- concatMap
- concatMapTo
- create
- debounce
- debounceTime
- defaultIfEmpty
- delay
- delayWhen
- distinctUntilChanged
- do / tap
- empty
- every
- exhaustMap
- expand
- filter
- finalize / finally
- first
- forkJoin
- from
- fromEvent
- groupBy
- ignoreElements
- interval
- last
- let
- map
- mapTo
- merge
- mergeAll
- mergeMap / flatMap
- multicast
- of
- partition
- pluck
- publish
- race
- range
- retry
- retryWhen
- sample
- scan
- share
- shareReplay
- single
- skip
- skipUntil
- skipWhile
- startWith
- switchMap
- take
- takeUntil
- takeWhile
- throttle
- throttleTime
- throw
- timeout
- timer
- toPromise
- window
- windowCount
- windowTime
- windowToggle
- windowWhen
- withLatestFrom
- zip
- 常用