1 line
27 KiB
JSON
1 line
27 KiB
JSON
|
{"id":"../node_modules/rxjs/_esm5/internal/observable/fromObservable.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromObservable.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/fromObservable.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"../Observable","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromObservable.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observable.js"},{"name":"../Subscription","loc":{"line":3,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromObservable.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscription.js"},{"name":"../symbol/observable","loc":{"line":4,"column":48},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromObservable.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/symbol/observable.js"},{"name":"../util/subscribeToObservable","loc":{"line":5,"column":38},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromObservable.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.fromObservable = fromObservable;\n\nvar _Observable = require(\"../Observable\");\n\nvar _Subscription = require(\"../Subscription\");\n\nvar _observable = require(\"../symbol/observable\");\n\nvar _subscribeToObservable = require(\"../util/subscribeToObservable\");\n\n/** PURE_IMPORTS_START _Observable,_Subscription,_symbol_observable,_util_subscribeToObservable PURE_IMPORTS_END */\nfunction fromObservable(input, scheduler) {\n if (!scheduler) {\n return new _Observable.Observable((0, _subscribeToObservable.subscribeToObservable)(input));\n } else {\n return new _Observable.Observable(function (subscriber) {\n var sub = new _Subscription.Subscription();\n sub.add(scheduler.schedule(function () {\n var observable = input[_observable.observable]();\n\n sub.add(observable.subscribe({\n next: function (value) {\n sub.add(scheduler.schedule(function () {\n return subscriber.next(value);\n }));\n },\n error: function (err) {\n sub.add(scheduler.schedule(function () {\n return subscriber.error(err);\n }));\n },\n complete: function () {\n sub.add(scheduler.schedule(function () {\n return subscriber.complete();\n }));\n }\n }));\n }));\n return sub;\n });\n }\n}","map":{"mappings":[{"source":"../../../src/internal/observable/fromObservable.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/observable/fromObservable.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/observable/fromObservable.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/observable/fromObservable.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/observable/fromObservable.ts","name":null,"original":{"line":1,"column":0},"gener
|