collectAsyncAsState

open fun <V> Flow<Async<V>>.collectAsyncAsState(scope: CoroutineScope, initialState: Async<V>? = Loading(), reducer: S.(Async<V>) -> S): Job

Collect flow of values wrapped in Async and update state with reducer.