Marcin Chrapowicz
01/23/2020, 8:56 AMstateFlowFrom ( I don’t know if this is good name 😄 ), It will give us possibility to run stateFlow from specific state
fun update() = stateFlowFrom<UIState> {
emit(UIState.Loading)
delay(10)
emit(UIState.Success)
}
https://github.com/uniflow-kt/uniflow-kt/pull/14/files