@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
1 lines • 977 B
Source Map (JSON)
{"version":3,"sources":["add/asynciterable-operators/finalize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAEpF;;GAEG;AACH,MAAM,UAAU,aAAa,CAA6B,MAAgC;IACxF,OAAO,cAAc,CAAI,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,QAAQ,GAAG,aAAa,CAAC","file":"finalize.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { finalize as _finalizeProto } from '../../asynciterable/operators/finalize';\n\n/**\n * @ignore\n */\nexport function finalizeProto<T>(this: AsyncIterableX<T>, action: () => any | Promise<any>) {\n return _finalizeProto<T>(action)(this);\n}\n\nAsyncIterableX.prototype.finalize = finalizeProto;\n\nexport declare namespace asynciterable {\n let finalize: typeof _finalizeProto;\n}\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n finalize: typeof finalizeProto;\n }\n}\n"]}