collectReduceAsState

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

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