collectToState

fun <T, State> Flow<T>.collectToState(container: StateHolder<State>, scope: CoroutineScope, block: suspend (state: State, value: T) -> State): Job