aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/cjs/internal/Scheduler.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/cjs/internal/Scheduler.js')
-rw-r--r--node_modules/rxjs/dist/cjs/internal/Scheduler.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/cjs/internal/Scheduler.js b/node_modules/rxjs/dist/cjs/internal/Scheduler.js
new file mode 100644
index 0000000..fc65c72
--- /dev/null
+++ b/node_modules/rxjs/dist/cjs/internal/Scheduler.js
@@ -0,0 +1,19 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Scheduler = void 0;
+var dateTimestampProvider_1 = require("./scheduler/dateTimestampProvider");
+var Scheduler = (function () {
+ function Scheduler(schedulerActionCtor, now) {
+ if (now === void 0) { now = Scheduler.now; }
+ this.schedulerActionCtor = schedulerActionCtor;
+ this.now = now;
+ }
+ Scheduler.prototype.schedule = function (work, delay, state) {
+ if (delay === void 0) { delay = 0; }
+ return new this.schedulerActionCtor(this, work).schedule(state, delay);
+ };
+ Scheduler.now = dateTimestampProvider_1.dateTimestampProvider.now;
+ return Scheduler;
+}());
+exports.Scheduler = Scheduler;
+//# sourceMappingURL=Scheduler.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage