UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

10 lines (8 loc) 316 B
import { repeatValue } from '../../iterable/repeatvalue'; import { CatchAllAsyncIterable } from '../catcherror'; export function retry(count = -1) { return function retryOperatorFunction(source) { return new CatchAllAsyncIterable(repeatValue(source, count)); }; } //# sourceMappingURL=retry.mjs.map