1 line
31 KiB
JSON
1 line
31 KiB
JSON
{"id":"ifNj","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/exhaust.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/exhaust.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/exhaust.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../OuterSubscriber","loc":{"line":3,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/exhaust.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":4,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/exhaust.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.exhaust=n;var t=i(require(\"tslib\")),e=require(\"../OuterSubscriber\"),r=require(\"../util/subscribeToResult\");function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}function n(){return function(t){return t.lift(new o)}}var o=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new s(t))},t}(),s=function(e){function i(t){var r=e.call(this,t)||this;return r.hasCompleted=!1,r.hasSubscription=!1,r}return t.__extends(i,e),i.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add((0,r.subscribeToResult)(this,t)))},i.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},i.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},i}(e.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":84}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":86}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":102}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":112}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":114}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":122}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":53,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":53,"column":0},"generated":{"line":1,"column":146}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":53,"column":0},"generated":{"line":1,"column":154}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":192}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":194}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":197}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":200}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":203}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":205}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":216}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":223}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":225}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":229}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":231}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":234}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":237}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":243}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":245}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":249}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":253}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":258}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":260}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":263}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":270}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":280}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":300}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":302}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":305}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":306}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":310}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":312}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":319}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":335}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":342}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":367}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":374}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":399}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":401}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":404}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":407}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":409}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":414}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":416}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":420}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":427}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":442}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":444}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":446}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":449}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":451}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":454}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":456}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":459}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":466}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":468}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":476}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":478}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":54,"column":2},"generated":{"line":1,"column":480}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":54,"column":9},"generated":{"line":1,"column":489}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":493}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":500}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":509}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":512}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":519}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":521}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":526}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":1,"column":530}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":1,"column":534}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":1,"column":538}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":1,"column":540}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":551}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":560}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":565}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":59,"column":18},"generated":{"line":1,"column":572}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":59,"column":18},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":59,"column":28},"generated":{"line":1,"column":584}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":59,"column":32},"generated":{"line":1,"column":589}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":59,"column":32},"generated":{"line":1,"column":598}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":59,"column":54},"generated":{"line":1,"column":600}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":603}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":610}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":612}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":622}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":626}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":628}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":633}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":1,"column":635}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":638}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":640}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":60},"generated":{"line":1,"column":649}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":652}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":661}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":73,"column":4},"generated":{"line":1,"column":663}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":1,"column":666}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":1,"column":670}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":1,"column":672}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":69,"column":22},"generated":{"line":1,"column":674}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":69,"column":34},"generated":{"line":1,"column":679}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":69,"column":40},"generated":{"line":1,"column":684}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":69,"column":40},"generated":{"line":1,"column":688}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":693}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":70,"column":10},"generated":{"line":1,"column":700}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":70,"column":10},"generated":{"line":1,"column":702}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":70,"column":25},"generated":{"line":1,"column":716}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":718}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":720}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":737}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":739}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":741}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":748}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":750}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":760}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":72,"column":14},"generated":{"line":1,"column":762}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":77,"column":14},"generated":{"line":1,"column":765}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":77,"column":14},"generated":{"line":1,"column":767}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":77,"column":31},"generated":{"line":1,"column":777}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":77,"column":31},"generated":{"line":1,"column":783}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":77,"column":31},"generated":{"line":1,"column":792}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":78,"column":6},"generated":{"line":1,"column":795}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":78,"column":11},"generated":{"line":1,"column":800}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":79,"column":11},"generated":{"line":1,"column":818}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":79,"column":11},"generated":{"line":1,"column":823}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":79,"column":15},"generated":{"line":1,"column":840}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":80,"column":5},"generated":{"line":1,"column":842}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":80,"column":5},"generated":{"line":1,"column":847}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":80,"column":5},"generated":{"line":1,"column":852}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":80,"column":5},"generated":{"line":1,"column":854}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":80,"column":5},"generated":{"line":1,"column":856}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":80,"column":5},"generated":{"line":1,"column":875}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":80,"column":5},"generated":{"line":1,"column":880}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":84,"column":21},"generated":{"line":1,"column":886}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":84,"column":21},"generated":{"line":1,"column":888}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":84,"column":29},"generated":{"line":1,"column":898}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":84,"column":29},"generated":{"line":1,"column":908}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":85,"column":9},"generated":{"line":1,"column":919}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":85,"column":9},"generated":{"line":1,"column":924}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":85,"column":14},"generated":{"line":1,"column":938}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":86,"column":6},"generated":{"line":1,"column":940}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":86,"column":11},"generated":{"line":1,"column":945}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":87,"column":5},"generated":{"line":1,"column":962}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":87,"column":5},"generated":{"line":1,"column":967}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":87,"column":5},"generated":{"line":1,"column":979}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":91,"column":16},"generated":{"line":1,"column":991}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":91,"column":16},"generated":{"line":1,"column":993}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":91,"column":26},"generated":{"line":1,"column":1003}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":91,"column":26},"generated":{"line":1,"column":1018}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":91,"column":26},"generated":{"line":1,"column":1027}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":1030}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":1035}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":1,"column":1042}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":93,"column":8},"generated":{"line":1,"column":1045}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":93,"column":8},"generated":{"line":1,"column":1050}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":93,"column":27},"generated":{"line":1,"column":1067}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":94,"column":6},"generated":{"line":1,"column":1069}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":94,"column":11},"generated":{"line":1,"column":1074}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":95,"column":5},"generated":{"line":1,"column":1088}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":95,"column":5},"generated":{"line":1,"column":1093}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":95,"column":5},"generated":{"line":1,"column":1105}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":1117}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":1119}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":1120}},{"source":"../../../src/internal/operators/exhaust.ts","name":null,"original":{"line":68,"column":39},"generated":{"line":1,"column":1122}}],"sources":{"../../../src/internal/operators/exhaust.ts":"import { Operator } from '../Operator';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { ObservableInput, OperatorFunction, TeardownLogic } from '../types';\n\nexport function exhaust<T>(): OperatorFunction<ObservableInput<T>, T>;\nexport function exhaust<R>(): OperatorFunction<any, R>;\n\n/**\n * Converts a higher-order Observable into a first-order Observable by dropping\n * inner Observables while the previous inner Observable has not yet completed.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables by dropping the\n * next inner Observables while the current inner is still executing.</span>\n *\n * ![](exhaust.png)\n *\n * `exhaust` subscribes to an Observable that emits Observables, also known as a\n * higher-order Observable. Each time it observes one of these emitted inner\n * Observables, the output Observable begins emitting the items emitted by that\n * inner Observable. So far, it behaves like {@link mergeAll}. However,\n * `exhaust` ignores every new inner Observable if the previous Observable has\n * not yet completed. Once that one completes, it will accept and flatten the\n * next inner Observable and repeat this process.\n *\n * ## Example\n * Run a finite timer for each click, only if there is no currently active timer\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const higherOrder = clicks.pipe(\n * map((ev) => interval(1000).pipe(take(5))),\n * );\n * const result = higherOrder.pipe(exhaust());\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link combineAll}\n * @see {@link concatAll}\n * @see {@link switchAll}\n * @see {@link switchMap}\n * @see {@link mergeAll}\n * @see {@link exhaustMap}\n * @see {@link zipAll}\n *\n * @return {Observable} An Observable that takes a source of Observables and propagates the first observable\n * exclusively until it completes before subscribing to the next.\n * @method exhaust\n * @owner Observable\n */\nexport function exhaust<T>(): OperatorFunction<any, T> {\n return (source: Observable<T>) => source.lift(new SwitchFirstOperator<T>());\n}\n\nclass SwitchFirstOperator<T> implements Operator<T, T> {\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new SwitchFirstSubscriber(subscriber));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass SwitchFirstSubscriber<T> extends OuterSubscriber<T, T> {\n private hasCompleted: boolean = false;\n private hasSubscription: boolean = false;\n\n constructor(destination: Subscriber<T>) {\n super(destination);\n }\n\n protected _next(value: T): void {\n if (!this.hasSubscription) {\n this.hasSubscription = true;\n this.add(subscribeToResult(this, value));\n }\n }\n\n protected _complete(): void {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n }\n\n notifyComplete(innerSub: Subscription): void {\n this.remove(innerSub);\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n }\n}\n"},"lineCount":null}},"hash":"4bf3e88fb5002b7b565534dd16637deb","cacheData":{"env":{}}} |