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/bf249e6efb5b097f23d7e21d7283429f0760b740/node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js.map