ix
Version:
The Interactive Extensions for JavaScript
1 lines • 768 B
Source Map (JSON)
{"version":3,"sources":["add/asynciterable-operators/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD;;GAEG;AACH,MAAM,UAAU,UAAU;IACxB,OAAO,KAAK,CAAI,IAAI,CAAC,CAAC;AACxB,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,KAAK,GAAG,UAAU,CAAC","file":"batch.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { batch } from '../../asynciterable/batch';\n\n/**\n * @ignore\n */\nexport function batchProto<T>(this: AsyncIterableX<T>): AsyncIterableX<T[]> {\n return batch<T>(this);\n}\n\nAsyncIterableX.prototype.batch = batchProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n batch: typeof batchProto;\n }\n}\n"]}