{"version":3,"sources":["add/asynciterable-operators/tap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAWxD,cAAc;AACd,MAAM,UAAU,QAAQ,CAEtB,cAAqE,EACrE,KAAkC,EAClC,QAA6B;IAE7B,OAAO,GAAG,CAAI,cAAqB,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AAC9D,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,GAAG,GAAG,QAAQ,CAAC","file":"tap.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { tap } from '../../asynciterable/operators/tap';\nimport { PartialAsyncObserver } from '../../observer';\n\n/** @ignore */\nexport function tapProto<T>(observer: PartialAsyncObserver<T>): AsyncIterableX<T>;\n/** @ignore */\nexport function tapProto<T>(\n  next?: ((value: T) => any) | null,\n  error?: ((err: any) => any) | null,\n  complete?: (() => any) | null\n): AsyncIterableX<T>;\n/** @ignore */\nexport function tapProto<T>(\n  this: AsyncIterableX<T>,\n  observerOrNext?: PartialAsyncObserver<T> | ((value: T) => any) | null,\n  error?: ((err: any) => any) | null,\n  complete?: (() => any) | null\n): AsyncIterableX<T> {\n  return tap<T>(observerOrNext as any, error, complete)(this);\n}\n\nAsyncIterableX.prototype.tap = tapProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n  interface AsyncIterableX<T> {\n    tap: typeof tapProto;\n  }\n}\n"]}