UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

1 lines 996 B
{"version":3,"sources":["add/asynciterable-operators/distinct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAGlE;;GAEG;AACH,MAAM,UAAU,aAAa,CAE3B,OAAwC;IAExC,OAAO,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,QAAQ,GAAG,aAAa,CAAC","file":"distinct.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { distinct } from '../../asynciterable/operators/distinct';\nimport { DistinctOptions } from '../../asynciterable/operators/distinctoptions';\n\n/**\n * @ignore\n */\nexport function distinctProto<TSource, TKey>(\n this: AsyncIterableX<TSource>,\n options?: DistinctOptions<TSource, TKey>\n): AsyncIterableX<TSource> {\n return distinct(options)(this);\n}\n\nAsyncIterableX.prototype.distinct = distinctProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n distinct: typeof distinctProto;\n }\n}\n"]}