wishthis/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js

8 lines
334 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
import { operate } from '../util/lift';
export function subscribeOn(scheduler, delay) {
if (delay === void 0) { delay = 0; }
return operate(function (source, subscriber) {
subscriber.add(scheduler.schedule(function () { return source.subscribe(subscriber); }, delay));
});
}
//# sourceMappingURL=subscribeOn.js.map