O3 Framework / registerContext
registerContext<
T>(namespace,initialValue):void
Defined in: packages/framework/esm-context/src/context.ts:29
Used by callers to register a new namespace in the application context. Attempting to register an already-registered namespace will display a warning and make no modifications to the state.
T extends object = object
string
the namespace to register
T = nothing
the initial value of the namespace
void