get method

StateAsync<S, S> get()

Extract the current state S.

Implementation

StateAsync<S, S> get() => StateAsync((state) async => (state, state));