StateAsync<S, A> constructor
const
StateAsync<S, A> (
- Future<
(A, S)> _run(- S state
Build a new StateAsync given a Future<(A, S)> Function(S)
.
Implementation
const StateAsync(this._run);