UNPKG

675 BSource Map (JSON)View Raw
1{"version":3,"sources":["asynciterable/retry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,MAAM,UAAU,KAAK,CACnB,MAA8B,EAC9B,QAAgB,CAAC,CAAC;IAElB,OAAO,SAAS,CAAU,YAAY,CAAyB,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;AACjF,CAAC","file":"retry.js","sourcesContent":["import { AsyncIterableX } from './asynciterablex';\nimport { repeatStatic } from '../iterable/repeat';\nimport { _catchAll } from './catch';\n\nexport function retry<TSource>(\n source: AsyncIterable<TSource>,\n count: number = -1\n): AsyncIterableX<TSource> {\n return _catchAll<TSource>(repeatStatic<AsyncIterable<TSource>>(source, count));\n}\n"]}
\No newline at end of file