put method
Set a new state and return nothing (Unit).
Implementation
StateAsync<S, Unit> put(S state) =>
StateAsync((_) async => Tuple2(unit, state));
Set a new state and return nothing (Unit).
StateAsync<S, Unit> put(S state) =>
StateAsync((_) async => Tuple2(unit, state));