1

原文:http://reactivex.io/rxjs/manu...

各种各样的操作符按照不同的目的,分类几个大类:创建,变化,过滤,组合,广播(multicasting),错误处理,使用工具等等。

以下的列表,按照分类罗列了全部的操作符:

创建操作符 Creation Operators

  • ajax

  • bindCallback

  • bindNodeCallback

  • create

  • defer

  • empty

  • from

  • fromEvent

  • fromEventPattern

  • fromPromise

  • generate

  • interval

  • never

  • of

  • repeat

  • repeatWhen

  • range

  • throw

  • timer

变化操作符 Transformation Operators

  • buffer

  • bufferCount

  • bufferTime

  • bufferToggle

  • bufferWhen

  • concatMap

  • concatMapTo

  • exhaustMap

  • expand

  • groupBy

  • map

  • mapTo

  • mergeMap

  • mergeMapTo

  • mergeScan

  • pairwise

  • partition

  • pluck

  • scan

  • switchMap

  • switchMapTo

  • window

  • windowCount

  • windowTime

  • windowToggle

  • windowWhen

过滤操作符 Filtering Operators

  • debounce

  • debounceTime

  • distinct

  • distinctKey

  • distinctUntilChanged

  • distinctUntilKeyChanged

  • elementAt

  • filter

  • first

  • ignoreElements

  • audit

  • auditTime

  • last

  • sample

  • sampleTime

  • single

  • skip

  • skipUntil

  • skipWhile

  • take

  • takeLast

  • takeUntil

  • takeWhile

  • throttle

  • throttleTime

组合操作符 Combination Operators

  • combineAll

  • combineLatest

  • concat

  • concatAll

  • exhaust

  • forkJoin

  • merge

  • mergeAll

  • race

  • startWith

  • switch

  • withLatestFrom

  • zip

  • zipAll

广播操作符 Multicasting Operators

  • cache

  • multicast

  • publish

  • publishBehavior

  • publishLast

  • publishReplay

  • share

错误处理操作符 Error Handling Operators

  • catch

  • retry

  • retryWhen

实用工具操作符 Utility Operators

  • do

  • delay

  • delayWhen

  • dematerialize

  • finally

  • let

  • materialize

  • observeOn

  • subscribeOn

  • timeInterval

  • timestamp

  • timeout

  • timeoutWith

  • toArray

  • toPromise

条件和布尔运算操作符 Conditional and Boolean Operators

  • defaultIfEmpty

  • every

  • find

  • findIndex

  • isEmpty

数学计算和求和操作符 Mathematical and Aggregate Operators

  • count

  • max

  • min

  • reduce


阿尔特纳晨风
333 声望31 粉丝

一个前端