import { asyncScheduler } from '../scheduler/async.js';
import { delayWhen } from './delayWhen.js';
import { timer } from '../observable/timer.js';
export function delay(due, scheduler = asyncScheduler) {
    const duration = timer(due, scheduler);
    return delayWhen(() => duration);
}//# sourceMappingURL=http://go/sourcemap/sourcemaps/31e8d61c448c7472e371505838a0fe34083dad50/node_modules/rxjs/dist/esm/internal/operators/delay.js.map