View source
abstract AsyncState<X, A>(X ‑> Task<Pair<A, X>>)
package interlude.ds
from X ‑> Task<Pair<A, X>> to X ‑> Task<Pair<A, X>>
A type of function that takes an initial state X, and asynchronously
produces an output value A and a new state
See also: