put
put<
S>(newState):State<S,undefined>
Defined in: Core/State.ts:71
Replaces the current state with a new value. Produces no meaningful value.
Type Parameters
Section titled “Type Parameters”S
Parameters
Section titled “Parameters”newState
Section titled “newState”S
Returns
Section titled “Returns”State<S, undefined>