import { Observable } from '../Observable.js';
export function subscribeOn(scheduler, delay = 0) {
    return (source) => new Observable((subscriber) => {
        subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));
    });
}//# sourceMappingURL=http://go/sourcemap/sourcemaps/31e8d61c448c7472e371505838a0fe34083dad50/node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js.map