constructor
number of milliseconds to allow tasks to run
message to reject with when timeout triggers
TimeoutRunnerOptions
Optionalerrorthe error if running failed
number of milliseconds to allow tasks to run
message to reject with if operation timed out
Optionalresultthe result from running tasks
Promise constructor
TimeoutError constructor
Cancel the operation and reject with msg
cancel message
Explicitly clear the setTimeout handle
check if runner has failed with error
has error flag
check if runner has finished with result
has result flag
Check if runner is done
is done flag
TimeoutRunner for running tasks (promises) with a timeout
Please use
xaa.timeoutorxaa.runTimeoutAPIs instead.