hugoWebsite/node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js

7 lines
338 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
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