The computation controlled by this runner.
The options governing this runner.
The computation controlled by this runner.
Keeps the task running by launching cycles only until done or until the maximum time span for one run is reached.
False if there is no more work to do. True otherwise.
Convenience method. The bound version of this method
(this._boundWrapper
) is what is called by the timeouts.
Resets the task to its initial state. The task will be deemed incomplete.
Resumes the task. This method does not change the completion status of the task. So it is possible to stop a task temporarily and resume it later from where it stopped.
Marks the task as incomplete and starts processing.
Stops the task.
Terminate the task.
Generated using TypeDoc
A task is a computation that should produce a definite goal after a finite time. This class is used to allow the task to happen in a way that does not completely block the JavaScript virtual machine. The task will happen in cycles that run for a maximum amount of time before relinquishing control.