AsyncContextManager
Index
Methods
active
bind
Bind an object as the current context (or a specific one)
Type parameters
- T
disable
Disable context management
enable
Enable context management
with
Run the fn callback with object set as the current active context
Type parameters
- A: unknown[]
- F: (...args: A) => ReturnType<F>
Get the current active context