makeStateKey
function
Create a StateKey<T>
that can be used to store value of type T with TransferState
.
API
Description
function makeStateKey<T = void>( key: string): StateKey<T>;
Jump to details
Create a StateKey<T>
that can be used to store value of type T with TransferState
.
function makeStateKey<T = void>( key: string): StateKey<T>;