Describes the task for the purpose of logging.
Runs the unit of work until it either succeeds and fulfills the promise or fails and rejects the promise. Where possible it should listen for the cancellation signal, stop working, and reject the promise. If run is called more than once, it should immediately reject the promise.
Sets the parent of this task for the purpose of logging.
Generated using TypeDoc
A task that wraps another task and ensures it is run only once, regardless of how many times
run
is called.This allows you to implement a kind of barrier synchronization.