@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
1 lines • 886 B
Source Map (JSON)
{"version":3,"sources":["add/asynciterable-operators/takeuntil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE;;GAEG;AACH,MAAM,UAAU,cAAc,CAE5B,KAAyB;IAEzB,OAAO,SAAS,CAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,SAAS,GAAG,cAAc,CAAC","file":"takeuntil.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { takeUntil } from '../../asynciterable/operators/takeuntil';\n\n/**\n * @ignore\n */\nexport function takeUntilProto<T>(\n this: AsyncIterableX<T>,\n other: () => Promise<any>\n): AsyncIterableX<T> {\n return takeUntil<T>(other)(this);\n}\n\nAsyncIterableX.prototype.takeUntil = takeUntilProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n takeUntil: typeof takeUntilProto;\n }\n}\n"]}