UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

7 lines 338 B
import { innerFrom } from '../observable/innerFrom'; import { observeOn } from '../operators/observeOn'; import { subscribeOn } from '../operators/subscribeOn'; export function schedulePromise(input, scheduler) { return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler)); } //# sourceMappingURL=schedulePromise.js.map