The generic Context object returned by createContext.
createContext
Readonly
unique symbol used as key in the AsyncLocalStorage map
Provide a value for this context during the lifetime of fn()
fn()
Generates a middleware that guarantees the context exists (and optionally enforces that certain keys are present on the context object).
Optional
Retrieve the current context value or throw
The generic Context object returned by
createContext
.