webdetector/.cache/87/5788c011cc4f073a99f2e95a5c337c.json

1 line
38 KiB
JSON
Raw Permalink Normal View History

2018-12-21 12:36:28 +00:00
{"id":"../node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/scheduler/AsyncScheduler.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":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Scheduler","loc":{"line":3,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/AsyncScheduler.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Scheduler.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AsyncScheduler = void 0;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Scheduler = require(\"../Scheduler\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\n/** PURE_IMPORTS_START tslib,_Scheduler PURE_IMPORTS_END */\nvar AsyncScheduler =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(AsyncScheduler, _super);\n\n function AsyncScheduler(SchedulerAction, now) {\n if (now === void 0) {\n now = _Scheduler.Scheduler.now;\n }\n\n var _this = _super.call(this, SchedulerAction, function () {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== _this) {\n return AsyncScheduler.delegate.now();\n } else {\n return now();\n }\n }) || this;\n\n _this.actions = [];\n _this.active = false;\n _this.scheduled = undefined;\n return _this;\n }\n\n AsyncScheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) {\n delay = 0;\n }\n\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.schedule(work, delay, state);\n } else {\n return _super.prototype.schedule.call(this, work, delay, state);\n }\n };\n\n AsyncScheduler.prototype.flush = function (action) {\n var actions = this.actions;\n\n if (this.active) {\n actions.push(action);\n return;\n }\n\n var error;\n this.active = true;\n\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift());\n\n this.active = false;\n\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n\n throw error;\n }\n };\n\n return AsyncScheduler;\n}(_Scheduler.Scheduler);\n\nexports.AsyncScheduler = AsyncScheduler;","map":{"mappings":[{"source":"../../../src/internal/scheduler/AsyncScheduler.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/scheduler/AsyncScheduler.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/scheduler/AsyncScheduler.ts","name":null,"original":{"line":7,"column":36},"generated":{"line":15,"column":4}},{"source":"../../../src/internal/scheduler/As