Reference
getGlobalRuntimeState
Returns a shared global runtime state object, creating it when needed.
Signature
function getGlobalRuntimeState<TState>(key: string, create: (): TState): TStateReference
Returns a shared global runtime state object, creating it when needed.
function getGlobalRuntimeState<TState>(key: string, create: (): TState): TState