前端analysis | 3w & 1h

《angular8》- Rxjs 操作符理解才是王道

2020-07-18

按照必选参数分类

无入参

empty

interval

range

timer

combineAll

concatAll

mergeAll

switchAll

count

max

min

dematerialize

distinct

distinctUntilChanged

exhaust

first

last

isEmpty

单一入参

bindCallback

bindNodeCallback

defer

from

fromEventPattern

generate

iif

pairs

throwError

audit

auditTime

buffer

bufferCount

bufferTime

bufferWhen

catchError

concatMap

concatMapTo

reduce

debounce

debounceTime

defaultIfEmpty

delay

delayWhen

distinctUntilKeyChanged

elementAt

every

exhaustMap

expand

filter

find

findIndex

groupBy

isEmpty

多参数

combineLatest

concat

forkJoin

fromEvent

merge

of

partition

race

zip

bufferToggle

startWith

按照api import方式分类

rxjs

bindCallback

bindNodeCallback

combineLatest

concat

defer

empty

forkJoin

from

fromEvent

fromEventPattern

generate

iif

interval

merge

never - deprecated

of

pairs

partition

race

range

throwError

timer

zip

rxjs/operator

audit

auditTime

buffer

bufferCount

bufferTime

bufferToggle

bufferWhen

catchError

combineAll

combineLatest

concat

concatAll

concatMap

concatMapTo

count

debounce

debounceTime

defaultIfEmpty

delay

delayWhen

dematerialize

distinct

distinctUntilChanged

distinctUntilKeyChanged

elementAt

every

exhaust

exhaustMap

expand

filter

find

findIndex

first

groupBy

ignoreElements

isEmpty

last

map

mapTo

materialize

max

merge

mergeAll

mergeMap

flatMap

mergeMapTo

mergeScan

min

multicast

observeOn

onErrorResumeNext

pairwise

partition

pluck

publish

publishBehavior

publishLast

publishReplay

race

reduce

repeat

repeatWhen

retry

retryWhen

refCount

sample

sampleTime

scan

sequenceEqual

share

shareReplay

single

skip

skipLast

skipUntil

skipWhile

startWith

subscribeOn

switchAll

switchMap

switchMapTo

take

takeLast

takeUntil

takeWhile

tap

throttle

throttleTime

throwIfEmpty

timeInterval

timeout

timeoutWith

timestamp

toArray

window

windowCount

windowTime

windowToggle

windowWhen

withLatestFrom

zip

zipAll

参考

Rxjs

使用支付宝打赏
使用微信打赏

若你觉得我的文章对你有帮助,欢迎点击上方按钮对我打赏