import { from } from '../Observable.js';
import { observeOn } from '../operators/observeOn.js';
import { subscribeOn } from '../operators/subscribeOn.js';
export function schedulePromise(input, scheduler) {
    return from(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
}//# sourceMappingURL=http://go/sourcemap/sourcemaps/63a2996a10d9e476b6c28e951dd7691d9c0cf480/node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js.map