Fill the stack trace in the exception
exception
task name.
this task's scheduler.
exception to throw in the task's context.
true if task is still running.
Wait for task to finish (from another task).
Optionalopt_frame: Frame<any>Unwind the stack. We have two stacks: async (maintained by frame parent link) and sync (regular JavaScript stack).
Register a callback to be called when the task is done. Callback is not executed in any task context. Multiple callbacks can be registered and they will be called in the registration order.
An asynchronous, time-sliced task.