O3 Framework / getContext
getContext<
T>(namespace):null|Readonly<T>
Defined in: packages/framework/esm-context/src/context.ts:64
Returns an immutable version of the state of the namespace as it is currently
T extends object = object
The type of the value stored in the namespace
string
The namespace to load properties from
null | Readonly<T>
The immutable state of the namespace, or null if the namespace is not registered.