method AsyncLocalStorage.bind
unstable
Jump to headingAsyncLocalStorage.bind<Func extends (...args: any[]) => any>(fn: Func): Func
Binds the given function to the current execution context.
Type Parameters Jump to heading
Jump to headingFunc extends (...args: any[]) => any
Parameters Jump to heading
The function to bind to the current execution context.
Return Type Jump to heading
A new function that calls fn
within the captured execution context.