UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

1 lines 850 B
{"version":3,"sources":["add/asynciterable-operators/repeat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAE9D;;GAEG;AACH,MAAM,UAAU,WAAW,CAA6B,QAAgB,CAAC,CAAC;IACxE,OAAO,MAAM,CAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,MAAM,GAAG,WAAW,CAAC","file":"repeat.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { repeat } from '../../asynciterable/operators/repeat';\n\n/**\n * @ignore\n */\nexport function repeatProto<T>(this: AsyncIterableX<T>, count: number = -1): AsyncIterableX<T> {\n return repeat<T>(count)(this);\n}\n\nAsyncIterableX.prototype.repeat = repeatProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n repeat: typeof repeatProto;\n }\n}\n"]}