Optional
onCall the provided function with the provided arguments in the execution context of the async resource. This will establish the context, trigger the AsyncHooks before callbacks, call the function, trigger the AsyncHooks after callbacks, and then restore the original execution context.
v9.6.0
Static
bindGenerated using TypeDoc
Wrapper for the async-hook-domain that catches errors thrown during test operation.
See
https://npmjs.com/async-hook-domain