codecamp

RxJS API清单

index
animationFrame ArgumentOutOfRangeError asap
async AsyncSubject BehaviorSubject
bindCallback bindNodeCallback combineLatest
CompletionObserver concat config
ConnectableObservable defer empty(已弃用)
EMPTY EmptyError  ErrorObserver
FactoryOrValue forkJoin from
fromEvent fromEvenPattern generate 
GroupedObservable identity iif
interopObservable interval   isObservable
merge  MonoTypeOperatorFunction never(已弃用)
NEVER NextObserver noop
Notification NotificationKind(已弃用) ObjectUnsubscribedError
Observer observable ObservableInput
ObservableLike(已弃用) ObservedValueOf ObservedValuesFromArray
Observer of onErrorResumeNext
Operator OperatorFunction pairs
PartialObserver partition pipe
queue race range
ReplaySubject scheduled Scheduler(已弃用)
SchedulerAction SchedulerLike Subject
Subscribable SubscribableOrPromise Subscriber
Subscription SubscripLike TeardownLogic
throwError TimeInterval TimeoutError
timer Timestamp UnaryFunction
Unsubscribable UnsubscriptionError using
virtualTimeScheduler zip
operators
audit auditTime buffer
bufferCount bufferTime bufferToggle
bufferWhen catchError combineAll
combincLates(已弃用) concat(已弃用) concatAll
concatMap concatMapTo count
debounce debounceTime defaultlfEmpty
delay delayWhen dematerialize
distinct distinctUntilChanged distinctUntilKeyChanged
elementAt endWith every
exhaust exhaustMap expand
filter finalize find
findIndex first flatMap
groupBy ignoreElements isEmpty
last map mapTo
materialize max merge(已弃用)
mergeAll mergeMap mergeMapTo
mergeScan min multicast
observeOn onErrorResumeNext pairwise
partition(已弃用) pluck publish
publishBehavior publishLast publishReplay
race(已弃用) reduce refCount
repeat repeatWhen retry
retryWhen sample sampleTime
scan sequenceEqual share
shareReplay single skip
skipLast skipUntil skipWhile
startWith subscribeOn swithAll
switchMap switchMapTo take
takeLast takeUntil takeWhile
tap throttle throttleTime
throwlfEmpty timeInterval timeout
timeoutWith timestamp toArray
window windowCount windowTime
windowToggle windowWhen withLatestFrom
zip(已弃用) zipAll

ajax
ajax AjaxError AjaxRequest
AjaxResponse AjaxTimeoutError
fetch
fromFetch

webSocket
webSocket WebSocketSubject WebSocketSubjectConfig
testing
TestScheduler
RxJS安装
RxJS v5.x至v6更新指南
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

RxJS operators

RxJS fetch

RxJS testing

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }