Merge pull request #781 from vangel76/script-773-repeating-tasks
#773: run repeating app.scheduleTask tasks until cancelTask
This commit is contained in:
@@ -1823,7 +1823,7 @@ var app = {
|
||||
if (!cmd) throw __err("Unknown command id " + id);
|
||||
return __call(cmd, {});
|
||||
},
|
||||
scheduleTask: function (code, delay, repeat) { return __task("schedule", String(code), !!repeat); },
|
||||
scheduleTask: function (code, delay, repeat) { return __task("schedule", String(code), Number(delay), !!repeat); },
|
||||
cancelTask: function (id) { __task("cancel", id); },
|
||||
setMemoryUsageLimits: function () {},
|
||||
setMultiFrameRenderingConfig: function () {},
|
||||
|
||||
Reference in New Issue
Block a user