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