import { AsyncIterableX } from '../../asynciterable/asynciterablex.js'; import { retry } from '../../asynciterable/operators/retry.js'; /** * @ignore */ export function retryProto(this: AsyncIterableX, count = -1): AsyncIterableX { return retry(count)(this); } AsyncIterableX.prototype.retry = retryProto; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX { retry: typeof retryProto; } }