import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { DelayAsyncIterable } from '../../asynciterable/operators/delay' ; export function delayProto < TSource > ( this , dueTime ) { return new DelayAsyncIterable < TSource > ( this , dueTime ) ; } AsyncIterableX . prototype . delay = delayProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { delay : typeof delayProto ; } }