MyRepo-Ums/node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js

7 lines
273 B
JavaScript
Raw Normal View History

2024-01-19 10:09:11 +00:00
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