1 line
52 KiB
JSON
1 line
52 KiB
JSON
{"id":"R2GC","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/forkJoin.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/forkJoin.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/observable/forkJoin.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Observable","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/forkJoin.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observable.js"},{"name":"../util/isArray","loc":{"line":4,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/forkJoin.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArray.js"},{"name":"./empty","loc":{"line":5,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/forkJoin.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/empty.js"},{"name":"../util/subscribeToResult","loc":{"line":6,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/forkJoin.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"},{"name":"../OuterSubscriber","loc":{"line":7,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/forkJoin.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../operators/map","loc":{"line":8,"column":20},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/forkJoin.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/map.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.forkJoin=a;var e=s(require(\"tslib\")),r=require(\"../Observable\"),t=require(\"../util/isArray\"),i=require(\"./empty\"),n=require(\"../util/subscribeToResult\"),u=require(\"../OuterSubscriber\"),o=require(\"../operators/map\");function s(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,t):{};i.get||i.set?Object.defineProperty(r,t,i):r[t]=e[t]}return r.default=e,r}function a(){for(var e,n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];return\"function\"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&(0,t.isArray)(n[0])&&(n=n[0]),0===n.length?i.EMPTY:e?a(n).pipe((0,o.map)(function(r){return e.apply(void 0,r)})):new r.Observable(function(e){return new l(e,n)})}var l=function(r){function t(e,t){var i=r.call(this,e)||this;i.sources=t,i.completed=0,i.haveValues=0;var u=t.length;i.values=new Array(u);for(var o=0;o<u;o++){var s=t[o],a=(0,n.subscribeToResult)(i,s,null,o);a&&i.add(a)}return i}return e.__extends(t,r),t.prototype.notifyNext=function(e,r,t,i,n){this.values[t]=r,n._hasValue||(n._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var r=this.destination,t=this.haveValues,i=this.values,n=i.length;e._hasValue?(this.completed++,this.completed===n&&(t===n&&r.next(i),r.complete())):r.complete()},t}(u.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":85}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":87}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":93}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":103}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":123}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":140}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":142}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":150}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":169}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":171}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":179}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":190}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":192}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":200}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":229}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":231}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":239}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":142,"column":0},"generated":{"line":1,"column":261}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":142,"column":0},"generated":{"line":1,"column":263}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":142,"column":0},"generated":{"line":1,"column":271}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":291}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":300}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":302}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":305}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":308}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":311}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":313}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":324}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":331}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":333}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":337}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":339}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":342}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":345}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":351}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":353}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":357}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":361}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":366}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":368}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":371}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":378}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":388}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":403}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":408}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":410}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":413}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":414}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":418}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":420}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":427}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":443}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":450}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":475}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":482}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":507}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":509}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":512}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":517}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":522}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":524}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":535}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":550}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":552}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":554}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":557}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":559}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":562}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":564}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":567}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":576}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":584}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":586}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":588}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":597}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":601}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":605}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":147,"column":6},"generated":{"line":1,"column":609}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":611}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":613}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":616}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":618}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":620}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":2},"generated":{"line":1,"column":622}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":73},"generated":{"line":1,"column":632}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":143,"column":73},"generated":{"line":1,"column":639}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":643}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":645}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":648}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":658}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":159,"column":4},"generated":{"line":1,"column":661}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":149,"column":47},"generated":{"line":1,"column":667}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":149,"column":4},"generated":{"line":1,"column":686}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":149,"column":18},"generated":{"line":1,"column":688}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":149,"column":21},"generated":{"line":1,"column":690}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":149,"column":47},"generated":{"line":1,"column":697}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":150,"column":3},"generated":{"line":1,"column":702}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":150,"column":3},"generated":{"line":1,"column":704}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":150,"column":3},"generated":{"line":1,"column":706}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":23},"generated":{"line":1,"column":713}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":4},"generated":{"line":1,"column":717}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":11},"generated":{"line":1,"column":719}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":54},"generated":{"line":1,"column":728}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":54},"generated":{"line":1,"column":730}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":54},"generated":{"line":1,"column":732}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":54},"generated":{"line":1,"column":741}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":155,"column":54},"generated":{"line":1,"column":743}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":156,"column":3},"generated":{"line":1,"column":749}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":156,"column":3},"generated":{"line":1,"column":751}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":156,"column":3},"generated":{"line":1,"column":753}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":159,"column":17},"generated":{"line":1,"column":757}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":159,"column":4},"generated":{"line":1,"column":761}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":159,"column":11},"generated":{"line":1,"column":763}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":160,"column":3},"generated":{"line":1,"column":770}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":160,"column":3},"generated":{"line":1,"column":772}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":164,"column":4},"generated":{"line":1,"column":778}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":780}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":782}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":785}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":791}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":793}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":795}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":800}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":809}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":812}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":819}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":821}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":832}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":167,"column":3},"generated":{"line":1,"column":834}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":170,"column":4},"generated":{"line":1,"column":840}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":170,"column":11},"generated":{"line":1,"column":844}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":170,"column":4},"generated":{"line":1,"column":846}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":170,"column":15},"generated":{"line":1,"column":857}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":170,"column":15},"generated":{"line":1,"column":866}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":171,"column":5},"generated":{"line":1,"column":869}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":171,"column":5},"generated":{"line":1,"column":876}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":171,"column":5},"generated":{"line":1,"column":880}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":171,"column":5},"generated":{"line":1,"column":882}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":171,"column":5},"generated":{"line":1,"column":884}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":889}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":893}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":895}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":60},"generated":{"line":1,"column":904}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":183,"column":2},"generated":{"line":1,"column":907}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":183,"column":2},"generated":{"line":1,"column":916}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":185,"column":4},"generated":{"line":1,"column":918}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":185,"column":10},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":184,"column":22},"generated":{"line":1,"column":923}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":184,"column":22},"generated":{"line":1,"column":927}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":184,"column":22},"generated":{"line":1,"column":929}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":184,"column":22},"generated":{"line":1,"column":931}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":184,"column":56},"generated":{"line":1,"column":936}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":184,"column":56},"generated":{"line":1,"column":941}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":184,"column":56},"generated":{"line":1,"column":945}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":179,"column":10},"generated":{"line":1,"column":950}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":179,"column":10},"generated":{"line":1,"column":952}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":179,"column":19},"generated":{"line":1,"column":960}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":181,"column":10},"generated":{"line":1,"column":962}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":181,"column":10},"generated":{"line":1,"column":964}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":181,"column":20},"generated":{"line":1,"column":974}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":187,"column":4},"generated":{"line":1,"column":976}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":187,"column":10},"generated":{"line":1,"column":978}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":187,"column":24},"generated":{"line":1,"column":989}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":188,"column":4},"generated":{"line":1,"column":991}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":188,"column":4},"generated":{"line":1,"column":995}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":188,"column":9},"generated":{"line":1,"column":997}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":188,"column":18},"generated":{"line":1,"column":999}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":190,"column":4},"generated":{"line":1,"column":1006}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":190,"column":9},"generated":{"line":1,"column":1008}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":190,"column":18},"generated":{"line":1,"column":1015}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":190,"column":21},"generated":{"line":1,"column":1019}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":190,"column":29},"generated":{"line":1,"column":1025}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":6},"generated":{"line":1,"column":1028}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":6},"generated":{"line":1,"column":1032}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":12},"generated":{"line":1,"column":1036}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":12},"generated":{"line":1,"column":1038}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":18},"generated":{"line":1,"column":1040}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":21},"generated":{"line":1,"column":1042}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":29},"generated":{"line":1,"column":1044}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":191,"column":32},"generated":{"line":1,"column":1048}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":192,"column":12},"generated":{"line":1,"column":1049}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":192,"column":12},"generated":{"line":1,"column":1053}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":192,"column":12},"generated":{"line":1,"column":1055}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":192,"column":29},"generated":{"line":1,"column":1057}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":10},"generated":{"line":1,"column":1060}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":29},"generated":{"line":1,"column":1063}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":29},"generated":{"line":1,"column":1065}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":29},"generated":{"line":1,"column":1067}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":29},"generated":{"line":1,"column":1086}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":29},"generated":{"line":1,"column":1088}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":29},"generated":{"line":1,"column":1090}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":194,"column":29},"generated":{"line":1,"column":1095}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":195,"column":8},"generated":{"line":1,"column":1098}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":1,"column":1101}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":1,"column":1103}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":1,"column":1107}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":198,"column":3},"generated":{"line":1,"column":1110}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":198,"column":3},"generated":{"line":1,"column":1117}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":1119}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":183,"column":2},"generated":{"line":1,"column":1126}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":183,"column":2},"generated":{"line":1,"column":1128}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":183,"column":2},"generated":{"line":1,"column":1138}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":183,"column":14},"generated":{"line":1,"column":1140}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":16},"generated":{"line":1,"column":1143}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":16},"generated":{"line":1,"column":1145}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":27},"generated":{"line":1,"column":1155}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":41},"generated":{"line":1,"column":1166}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":41},"generated":{"line":1,"column":1175}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":41},"generated":{"line":1,"column":1177}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":41},"generated":{"line":1,"column":1179}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":41},"generated":{"line":1,"column":1181}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":203,"column":41},"generated":{"line":1,"column":1183}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":204,"column":10},"generated":{"line":1,"column":1186}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":204,"column":10},"generated":{"line":1,"column":1191}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":204,"column":10},"generated":{"line":1,"column":1198}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":204,"column":38},"generated":{"line":1,"column":1201}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":205,"column":7},"generated":{"line":1,"column":1203}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":205,"column":24},"generated":{"line":1,"column":1205}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":206,"column":6},"generated":{"line":1,"column":1217}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":206,"column":11},"generated":{"line":1,"column":1219}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":206,"column":24},"generated":{"line":1,"column":1230}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":207,"column":5},"generated":{"line":1,"column":1232}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":207,"column":5},"generated":{"line":1,"column":1237}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":211,"column":52},"generated":{"line":1,"column":1252}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":211,"column":12},"generated":{"line":1,"column":1254}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":211,"column":12},"generated":{"line":1,"column":1264}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":211,"column":12},"generated":{"line":1,"column":1279}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":211,"column":25},"generated":{"line":1,"column":1288}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":10},"generated":{"line":1,"column":1291}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":16},"generated":{"line":1,"column":1295}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":13},"generated":{"line":1,"column":1297}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":30},"generated":{"line":1,"column":1302}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":30},"generated":{"line":1,"column":1314}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":13},"generated":{"line":1,"column":1316}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":30},"generated":{"line":1,"column":1321}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":30},"generated":{"line":1,"column":1332}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":13},"generated":{"line":1,"column":1334}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":212,"column":30},"generated":{"line":1,"column":1339}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":214,"column":8},"generated":{"line":1,"column":1346}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":214,"column":10},"generated":{"line":1,"column":1348}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":214,"column":27},"generated":{"line":1,"column":1350}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":215,"column":6},"generated":{"line":1,"column":1357}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":215,"column":6},"generated":{"line":1,"column":1359}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":221,"column":8},"generated":{"line":1,"column":1370}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":221,"column":8},"generated":{"line":1,"column":1375}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":1,"column":1387}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":1,"column":1392}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":222,"column":13},"generated":{"line":1,"column":1404}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":226,"column":6},"generated":{"line":1,"column":1408}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":226,"column":18},"generated":{"line":1,"column":1412}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":227,"column":5},"generated":{"line":1,"column":1415}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":227,"column":5},"generated":{"line":1,"column":1417}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":227,"column":5},"generated":{"line":1,"column":1422}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":230,"column":3},"generated":{"line":1,"column":1425}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":230,"column":3},"generated":{"line":1,"column":1427}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":216,"column":6},"generated":{"line":1,"column":1440}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":216,"column":13},"generated":{"line":1,"column":1442}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":1454}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":1456}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":1457}},{"source":"../../../src/internal/observable/forkJoin.ts","name":null,"original":{"line":178,"column":39},"generated":{"line":1,"column":1459}}],"sources":{"../../../src/internal/observable/forkJoin.ts":"import { Observable } from '../Observable';\nimport { ObservableInput } from '../types';\nimport { isArray } from '../util/isArray';\nimport { EMPTY } from './empty';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { Subscriber } from '../Subscriber';\nimport { map } from '../operators/map';\n\n/* tslint:disable:max-line-length */\n// forkJoin([a$, b$, c$]);\nexport function forkJoin<T>(sources: [ObservableInput<T>]): Observable<T[]>;\nexport function forkJoin<T, T2>(sources: [ObservableInput<T>, ObservableInput<T2>]): Observable<[T, T2]>;\nexport function forkJoin<T, T2, T3>(sources: [ObservableInput<T>, ObservableInput<T2>, ObservableInput<T3>]): Observable<[T, T2, T3]>;\nexport function forkJoin<T, T2, T3, T4>(sources: [ObservableInput<T>, ObservableInput<T2>, ObservableInput<T3>, ObservableInput<T4>]): Observable<[T, T2, T3, T4]>;\nexport function forkJoin<T, T2, T3, T4, T5>(sources: [ObservableInput<T>, ObservableInput<T2>, ObservableInput<T3>, ObservableInput<T4>, ObservableInput<T5>]): Observable<[T, T2, T3, T4, T5]>;\nexport function forkJoin<T, T2, T3, T4, T5, T6>(sources: [ObservableInput<T>, ObservableInput<T2>, ObservableInput<T3>, ObservableInput<T4>, ObservableInput<T5>, ObservableInput<T6>]): Observable<[T, T2, T3, T4, T5, T6]>;\nexport function forkJoin<T>(sources: Array<ObservableInput<T>>): Observable<T[]>;\n\n// forkJoin(a$, b$, c$)\nexport function forkJoin<T>(v1: ObservableInput<T>): Observable<T[]>;\nexport function forkJoin<T, T2>(v1: ObservableInput<T>, v2: ObservableInput<T2>): Observable<[T, T2]>;\nexport function forkJoin<T, T2, T3>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>): Observable<[T, T2, T3]>;\nexport function forkJoin<T, T2, T3, T4>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>): Observable<[T, T2, T3, T4]>;\nexport function forkJoin<T, T2, T3, T4, T5>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>): Observable<[T, T2, T3, T4, T5]>;\nexport function forkJoin<T, T2, T3, T4, T5, T6>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>): Observable<[T, T2, T3, T4, T5, T6]>;\n\n/** @deprecated resultSelector is deprecated, pipe to map instead */\nexport function forkJoin(...args: Array<ObservableInput<any>|Function>): Observable<any>;\nexport function forkJoin<T>(...sources: ObservableInput<T>[]): Observable<T[]>;\n/* tslint:enable:max-line-length */\n\n/**\n * Joins last values emitted by passed Observables.\n *\n * <span class=\"informal\">Wait for Observables to complete and then combine last values they emitted.</span>\n *\n * ![](forkJoin.png)\n *\n * `forkJoin` is an operator that takes any number of Observables which can be passed either as an array\n * or directly as arguments. If no input Observables are provided, resulting stream will complete\n * immediately.\n *\n * `forkJoin` will wait for all passed Observables to complete and then it will emit an array with last\n * values from corresponding Observables. So if you pass `n` Observables to the operator, resulting\n * array will have `n` values, where first value is the last thing emitted by the first Observable,\n * second value is the last thing emitted by the second Observable and so on. That means `forkJoin` will\n * not emit more than once and it will complete after that. If you need to emit combined values not only\n * at the end of lifecycle of passed Observables, but also throughout it, try out {@link combineLatest}\n * or {@link zip} instead.\n *\n * In order for resulting array to have the same length as the number of input Observables, whenever any of\n * that Observables completes without emitting any value, `forkJoin` will complete at that moment as well\n * and it will not emit anything either, even if it already has some last values from other Observables.\n * Conversely, if there is an Observable that never completes, `forkJoin` will never complete as well,\n * unless at any point some other Observable completes without emitting value, which brings us back to\n * the previous case. Overall, in order for `forkJoin` to emit a value, all Observables passed as arguments\n * have to emit something at least once and complete.\n *\n * If any input Observable errors at some point, `forkJoin` will error as well and all other Observables\n * will be immediately unsubscribed.\n *\n * Optionally `forkJoin` accepts project function, that will be called with values which normally\n * would land in emitted array. Whatever is returned by project function, will appear in output\n * Observable instead. This means that default project can be thought of as a function that takes\n * all its arguments and puts them into an array. Note that project function will be called only\n * when output Observable is supposed to emit a result.\n *\n * ## Examples\n * ### Use forkJoin with operator emitting immediately\n * ```javascript\n * import { forkJoin, of } from 'rxjs';\n *\n * const observable = forkJoin(\n * of(1, 2, 3, 4),\n * of(5, 6, 7, 8),\n * );\n * observable.subscribe(\n * value => console.log(value),\n * err => {},\n * () => console.log('This is how it ends!'),\n * );\n *\n * // Logs:\n * // [4, 8]\n * // \"This is how it ends!\"\n * ```\n *\n * ### Use forkJoin with operator emitting after some time\n * ```javascript\n * import { forkJoin, interval } from 'rxjs';\n * import { take } from 'rxjs/operators';\n *\n * const observable = forkJoin(\n * interval(1000).pipe(take(3)), // emit 0, 1, 2 every second and complete\n * interval(500).pipe(take(4)), // emit 0, 1, 2, 3 every half a second and complete\n * );\n * observable.subscribe(\n * value => console.log(value),\n * err => {},\n * () => console.log('This is how it ends!'),\n * );\n *\n * // Logs:\n * // [2, 3] after 3 seconds\n * // \"This is how it ends!\" immediately after\n * ```\n *\n * ### Use forkJoin with project function\n * ```javascript\n * import { forkJoin, interval } from 'rxjs';\n * import { take } from 'rxjs/operators';\n *\n * const observable = forkJoin(\n * interval(1000).pipe(take(3)), // emit 0, 1, 2 every second and complete\n * interval(500).pipe(take(4)), // emit 0, 1, 2, 3 every half a second and complete\n * ).pipe(\n * map(([n, m]) => n + m),\n * );\n * observable.subscribe(\n * value => console.log(value),\n * err => {},\n * () => console.log('This is how it ends!'),\n * );\n *\n * // Logs:\n * // 5 after 3 seconds\n * // \"This is how it ends!\" immediately after\n * ```\n *\n * @see {@link combineLatest}\n * @see {@link zip}\n *\n * @param {...ObservableInput} sources Any number of Observables provided either as an array or as an arguments\n * passed directly to the operator.\n * @param {function} [project] Function that takes values emitted by input Observables and returns value\n * that will appear in resulting Observable instead of default array.\n * @return {Observable} Observable emitting either an array of last values emitted by passed Observables\n * or value from project function.\n */\nexport function forkJoin<T>(\n ...sources: Array<ObservableInput<T> | ObservableInput<T>[] | Function>\n): Observable<T[]> {\n\n let resultSelector: Function;\n if (typeof sources[sources.length - 1] === 'function') {\n // DEPRECATED PATH\n resultSelector = sources.pop() as Function;\n }\n\n // if the first and only other argument is an array\n // assume it's been called with `forkJoin([obs1, obs2, obs3])`\n if (sources.length === 1 && isArray(sources[0])) {\n sources = sources[0] as Array<ObservableInput<T>>;\n }\n\n if (sources.length === 0) {\n return EMPTY;\n }\n\n if (resultSelector) {\n // DEPRECATED PATH\n return forkJoin(sources).pipe(\n map(args => resultSelector(...args))\n );\n }\n\n return new Observable(subscriber => {\n return new ForkJoinSubscriber(subscriber, sources as Array<ObservableInput<T>>);\n });\n}\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass ForkJoinSubscriber<T, R> extends OuterSubscriber<T, T> {\n private completed = 0;\n private values: T[];\n private haveValues = 0;\n\n constructor(destination: Subscriber<R>,\n private sources: Array<ObservableInput<T>>) {\n super(destination);\n\n const len = sources.length;\n this.values = new Array(len);\n\n for (let i = 0; i < len; i++) {\n const source = sources[i];\n const innerSubscription = subscribeToResult(this, source, null, i);\n\n if (innerSubscription) {\n this.add(innerSubscription);\n }\n }\n }\n\n notifyNext(outerValue: any, innerValue: T,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber<T, T>): void {\n this.values[outerIndex] = innerValue;\n if (!(innerSub as any)._hasValue) {\n (innerSub as any)._hasValue = true;\n this.haveValues++;\n }\n }\n\n notifyComplete(innerSub: InnerSubscriber<T, T>): void {\n const { destination, haveValues, values } = this;\n const len = values.length;\n\n if (!(innerSub as any)._hasValue) {\n destination.complete();\n return;\n }\n\n this.completed++;\n\n if (this.completed !== len) {\n return;\n }\n\n if (haveValues === len) {\n destination.next(values);\n }\n\n destination.complete();\n }\n}\n"},"lineCount":null}},"hash":"0ec4b9404629e4afc96d5ac7912ba223","cacheData":{"env":{}}} |