7 lines
273 B
JavaScript
7 lines
273 B
JavaScript
|
import { operate } from '../util/lift';
|
||
|
export function subscribeOn(scheduler, delay = 0) {
|
||
|
return operate((source, subscriber) => {
|
||
|
subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));
|
||
|
});
|
||
|
}
|
||
|
//# sourceMappingURL=subscribeOn.js.map
|