UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

1 lines 888 B
{"version":3,"sources":["add/asynciterable-operators/buffer.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,CAEzB,KAAa,EACb,IAAa;IAEb,OAAO,MAAM,CAAI,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,MAAM,GAAG,WAAW,CAAC","file":"buffer.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { buffer } from '../../asynciterable/operators/buffer';\n\n/**\n * @ignore\n */\nexport function bufferProto<T>(\n this: AsyncIterableX<T>,\n count: number,\n skip?: number\n): AsyncIterableX<T[]> {\n return buffer<T>(count, skip)(this);\n}\n\nAsyncIterableX.prototype.buffer = bufferProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n buffer: typeof bufferProto;\n }\n}\n"]}