type of the computed result
The underlining task definition that describes the executed task
Indicator if this task has been canceled.
Indicator if this task should be canceled but has not yet
Cancels the given task. Triggers an error that the task has been canceled. This has only an effect if the task has not yet been scheduled. An already scheduled task will compute till the end, but the then handler will not be invoked.
Attaches a callback for only the rejection of the Promise.
The callback to execute when the Promise is rejected.
A Promise for the completion of the callback.
Attaches a callback for only the rejection of the Promise.
The callback to execute when the Promise is rejected.
A Promise for the completion of the callback.
Attaches callbacks for the resolution and/or rejection of the Promise.
The callback to execute when the Promise is resolved.
The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Attaches callbacks for the resolution and/or rejection of the Promise.
The callback to execute when the Promise is resolved.
The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Attaches callbacks for the resolution and/or rejection of the Promise.
The callback to execute when the Promise is resolved.
A Promise for the completion of which ever callback is executed.
Generated using TypeDoc
Represents a task that has been scheduled on a IThreadPool or is actually in execution. The task result can be retrieved by registering a callback using {@link PromiseLike.then} that is invoked with the task result. Any occurring errors are silently ignored if no explicit exception handler is registered using ITask.catch.