2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 1343
|
2026-07-23 10:11:24 +00:00
|
|
|
// Function ID: 15818
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: TaskRunner
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [6, 7, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 1343 (TaskRunner)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _classCallCheck from "_classCallCheck";
|
|
|
|
|
import _defineProperties from "_defineProperties";
|
2026-07-22 07:54:56 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp2 = (() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
class TaskRunner {
|
|
|
|
|
constructor() {
|
|
|
|
|
tmp = TaskRunner(this, TaskRunner);
|
|
|
|
|
this.timeoutId = null;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let obj = {
|
|
|
|
|
key: "schedule",
|
|
|
|
|
value(arg0, arg1) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const self = this;
|
|
|
|
|
let _defineProperties = arg0;
|
2026-07-20 16:05:17 +00:00
|
|
|
this.unschedule();
|
|
|
|
|
this.timeoutId = setTimeout(() => {
|
|
|
|
|
self.timeoutId = null;
|
2026-07-23 10:11:24 +00:00
|
|
|
callback();
|
2026-07-20 16:05:17 +00:00
|
|
|
}, arg1);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const items = [obj, , ];
|
|
|
|
|
obj = {
|
|
|
|
|
key: "unschedule",
|
|
|
|
|
value() {
|
|
|
|
|
const self = this;
|
|
|
|
|
if (this.scheduled()) {
|
|
|
|
|
const _clearTimeout = clearTimeout;
|
|
|
|
|
clearTimeout(self.timeoutId);
|
|
|
|
|
self.timeoutId = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[1] = obj;
|
|
|
|
|
obj = {
|
|
|
|
|
key: "scheduled",
|
|
|
|
|
value() {
|
|
|
|
|
return null !== this.timeoutId;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[2] = obj;
|
|
|
|
|
return callback(TaskRunner, items);
|
2026-07-23 10:11:24 +00:00
|
|
|
})();
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/dismissible_content/TaskRunner.tsx");
|
|
|
|
|
|
|
|
|
|
export const TaskRunner = tmp2;
|