Debian Codegraph @

node/rxjs/dist/cjs/internal/scheduler/Action.js

raw
1 "use strict";
2 var __extends = (this && this.__extends) || (function () {
3 var extendStatics = function (d, b) {
4 extendStatics = Object.setPrototypeOf ||
5 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7 return extendStatics(d, b);
8 };
9 return function (d, b) {
10 if (typeof b !== "function" && b !== null)
11 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12 extendStatics(d, b);
13 function __() { this.constructor = d; }
14 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15 };
16 })();
17 Object.defineProperty(exports, "__esModule", { value: true });
18 exports.Action = void 0;
19 var Subscription_1 = require("../Subscription");
20 var Action = (function (_super) {
21 __extends(Action, _super);
22 function Action(scheduler, work) {
23 return _super.call(this) || this;
24 }
25 Action.prototype.schedule = function (state, delay) {
26 if (delay === void 0) { delay = 0; }
27 return this;
28 };
29 return Action;
30 }(Subscription_1.Subscription));
31 exports.Action = Action;
32 //# sourceMappingURL=Action.js.map