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