Protected AbstractProtected AbstractcreateOptionaldefaults: Dictionary<K, V>Retrieves the current store.
The current store or undefined if there is no store.
ExperimentalBinds a function to the current store context. Marked experimental as it depends on AsyncLocalStorage.bind
The function to bind.
The bound function.
ProtectedenterExperimentalEnters a new store context with the given default values. Marked experimental as it depends on AsyncLocalStorage#enterWith
Optionaldefaults: Dictionary<K, V>The default values to initialize the store with.
A base class from which the modern and legacy APIs are both derived.