Runs the task delayed. Cancels the last execution.
milliseconds to wait until task execution
Rest
...args: Argsthe arguments given to the task function.
the promise.
Runs the task delayed. But only if it is not waiting for execution or executing. Does not cancel the last execution.
milliseconds to wait until next task execution.
Rest
...args: Argsthe arguments given to the task function. If queued again.
the promise.
Runs the task as early as possible. Cancels the last execution.
Rest
...args: Argsthe arguments given to the task function.
the promise.
Generated using TypeDoc
Represents an async task.