PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
rxjs
/
_esm2015
/
internal
/
operators
import { Subscriber } from '../Subscriber'; import { Notification } from '../Notification'; export function observeOn(scheduler, delay = 0) { return function observeOnOperatorFunction(source) { return source.lift(new ObserveOnOperator(scheduler, delay)); }; } export class ObserveOnOperator { constructor(scheduler, delay = 0) { this.scheduler = scheduler; this.delay = delay; } call(subscriber, source) { return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay)); } } export class ObserveOnSubscriber extends Subscriber { constructor(destination, scheduler, delay = 0) { super(destination); this.scheduler = scheduler; this.delay = delay; } static dispatch(arg) { const { notification, destination } = arg; notification.observe(destination); this.unsubscribe(); } scheduleMessage(notification) { const destination = this.destination; destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination))); } _next(value) { this.scheduleMessage(Notification.createNext(value)); } _error(err) { this.scheduleMessage(Notification.createError(err)); this.unsubscribe(); } _complete() { this.scheduleMessage(Notification.createComplete()); this.unsubscribe(); } } export class ObserveOnMessage { constructor(notification, destination) { this.notification = notification; this.destination = destination; } } //# sourceMappingURL=observeOn.js.map
[+]
..
[-] withLatestFrom.js
[edit]
[-] skipLast.js.map
[edit]
[-] publishReplay.js
[edit]
[-] exhaust.js
[edit]
[-] zip.js.map
[edit]
[-] mergeAll.js.map
[edit]
[-] single.js
[edit]
[-] mergeMapTo.js.map
[edit]
[-] distinctUntilChanged.js
[edit]
[-] throttle.js
[edit]
[-] find.js
[edit]
[-] bufferToggle.js
[edit]
[-] concat.js
[edit]
[-] isEmpty.js.map
[edit]
[-] windowTime.js.map
[edit]
[-] takeWhile.js.map
[edit]
[-] combineLatest.js
[edit]
[-] debounce.js.map
[edit]
[-] auditTime.js
[edit]
[-] multicast.js.map
[edit]
[-] dematerialize.js
[edit]
[-] mapTo.js.map
[edit]
[-] sample.js.map
[edit]
[-] finalize.js
[edit]
[-] takeUntil.js
[edit]
[-] concatMap.js
[edit]
[-] shareReplay.js.map
[edit]
[-] zipAll.js
[edit]
[-] windowToggle.js.map
[edit]
[-] debounceTime.js
[edit]
[-] sequenceEqual.js
[edit]
[-] toArray.js
[edit]
[-] pairwise.js.map
[edit]
[-] index.js.map
[edit]
[-] timestamp.js
[edit]
[-] shareReplay.js
[edit]
[-] mergeMap.js
[edit]
[-] retryWhen.js
[edit]
[-] bufferWhen.js.map
[edit]
[-] reduce.js
[edit]
[-] scan.js
[edit]
[-] max.js
[edit]
[-] mergeMapTo.js
[edit]
[-] throttle.js.map
[edit]
[-] skipWhile.js.map
[edit]
[-] delay.js
[edit]
[-] every.js.map
[edit]
[-] concat.js.map
[edit]
[-] refCount.js
[edit]
[-] materialize.js
[edit]
[-] publishLast.js.map
[edit]
[-] windowCount.js.map
[edit]
[-] toArray.js.map
[edit]
[-] catchError.js
[edit]
[-] buffer.js
[edit]
[-] buffer.js.map
[edit]
[-] observeOn.js.map
[edit]
[-] elementAt.js.map
[edit]
[-] skip.js.map
[edit]
[-] exhaust.js.map
[edit]
[-] concatMap.js.map
[edit]
[-] mapTo.js
[edit]
[-] repeatWhen.js.map
[edit]
[-] pluck.js
[edit]
[-] publish.js.map
[edit]
[-] takeLast.js
[edit]
[-] distinct.js.map
[edit]
[-] subscribeOn.js.map
[edit]
[-] groupBy.js.map
[edit]
[-] merge.js.map
[edit]
[-] first.js.map
[edit]
[-] publishBehavior.js
[edit]
[-] throttleTime.js
[edit]
[-] skip.js
[edit]
[-] debounce.js
[edit]
[-] count.js.map
[edit]
[-] retry.js
[edit]
[-] timeout.js
[edit]
[-] throwIfEmpty.js.map
[edit]
[-] bufferTime.js.map
[edit]
[-] concatAll.js.map
[edit]
[-] takeUntil.js.map
[edit]
[-] take.js
[edit]
[-] pairwise.js
[edit]
[-] skipUntil.js.map
[edit]
[-] max.js.map
[edit]
[-] take.js.map
[edit]
[-] audit.js
[edit]
[-] bufferWhen.js
[edit]
[-] bufferCount.js.map
[edit]
[-] reduce.js.map
[edit]
[-] concatAll.js
[edit]
[-] skipLast.js
[edit]
[-] merge.js
[edit]
[-] concatMapTo.js
[edit]
[-] timeout.js.map
[edit]
[-] defaultIfEmpty.js
[edit]
[-] skipUntil.js
[edit]
[-] mergeAll.js
[edit]
[-] takeLast.js.map
[edit]
[-] exhaustMap.js
[edit]
[-] publishLast.js
[edit]
[-] ignoreElements.js
[edit]
[-] share.js.map
[edit]
[-] timeInterval.js.map
[edit]
[-] onErrorResumeNext.js
[edit]
[-] single.js.map
[edit]
[-] delayWhen.js
[edit]
[-] switchAll.js.map
[edit]
[-] min.js
[edit]
[-] last.js.map
[edit]
[-] distinctUntilChanged.js.map
[edit]
[-] windowCount.js
[edit]
[-] switchMapTo.js
[edit]
[-] throwIfEmpty.js
[edit]
[-] tap.js.map
[edit]
[-] onErrorResumeNext.js.map
[edit]
[-] partition.js
[edit]
[-] subscribeOn.js
[edit]
[-] mergeMap.js.map
[edit]
[-] groupBy.js
[edit]
[-] first.js
[edit]
[-] windowWhen.js
[edit]
[-] scan.js.map
[edit]
[-] map.js.map
[edit]
[-] min.js.map
[edit]
[-] debounceTime.js.map
[edit]
[-] retryWhen.js.map
[edit]
[-] windowToggle.js
[edit]
[-] windowWhen.js.map
[edit]
[-] share.js
[edit]
[-] catchError.js.map
[edit]
[-] zipAll.js.map
[edit]
[-] pluck.js.map
[edit]
[-] repeatWhen.js
[edit]
[-] filter.js.map
[edit]
[-] count.js
[edit]
[-] index.js
[edit]
[-] materialize.js.map
[edit]
[-] timeoutWith.js
[edit]
[-] zip.js
[edit]
[-] bufferCount.js
[edit]
[-] expand.js.map
[edit]
[-] startWith.js
[edit]
[-] endWith.js.map
[edit]
[-] endWith.js
[edit]
[-] windowTime.js
[edit]
[-] race.js
[edit]
[-] window.js.map
[edit]
[-] delayWhen.js.map
[edit]
[-] delay.js.map
[edit]
[-] switchMap.js.map
[edit]
[-] combineAll.js.map
[edit]
[-] sampleTime.js
[edit]
[-] switchMap.js
[edit]
[-] race.js.map
[edit]
[-] tap.js
[edit]
[-] switchAll.js
[edit]
[-] ignoreElements.js.map
[edit]
[-] audit.js.map
[edit]
[-] dematerialize.js.map
[edit]
[-] timestamp.js.map
[edit]
[-] finalize.js.map
[edit]
[-] last.js
[edit]
[-] publishReplay.js.map
[edit]
[-] find.js.map
[edit]
[-] timeInterval.js
[edit]
[-] refCount.js.map
[edit]
[-] auditTime.js.map
[edit]
[-] combineAll.js
[edit]
[-] publishBehavior.js.map
[edit]
[-] defaultIfEmpty.js.map
[edit]
[-] observeOn.js
[edit]
[-] publish.js
[edit]
[-] mergeScan.js.map
[edit]
[-] concatMapTo.js.map
[edit]
[-] map.js
[edit]
[-] distinctUntilKeyChanged.js
[edit]
[-] findIndex.js
[edit]
[-] filter.js
[edit]
[-] every.js
[edit]
[-] sampleTime.js.map
[edit]
[-] sequenceEqual.js.map
[edit]
[-] takeWhile.js
[edit]
[-] mergeScan.js
[edit]
[-] bufferToggle.js.map
[edit]
[-] exhaustMap.js.map
[edit]
[-] multicast.js
[edit]
[-] findIndex.js.map
[edit]
[-] isEmpty.js
[edit]
[-] retry.js.map
[edit]
[-] startWith.js.map
[edit]
[-] distinctUntilKeyChanged.js.map
[edit]
[-] distinct.js
[edit]
[-] bufferTime.js
[edit]
[-] withLatestFrom.js.map
[edit]
[-] repeat.js
[edit]
[-] combineLatest.js.map
[edit]
[-] partition.js.map
[edit]
[-] elementAt.js
[edit]
[-] skipWhile.js
[edit]
[-] repeat.js.map
[edit]
[-] timeoutWith.js.map
[edit]
[-] sample.js
[edit]
[-] window.js
[edit]
[-] expand.js
[edit]
[-] switchMapTo.js.map
[edit]
[-] throttleTime.js.map
[edit]