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