Runs the task delayed. Cancels the last execution.
milliseconds to wait until task execution
the 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.
the arguments given to the task function. If queued again.
the promise.
Runs the task as early as possible. Cancels the last execution.
the arguments given to the task function.
the promise.
Represents an async task.