1 min readOct 22, 2019
The idea here is to let you just focus on making states and events in the background thanks to coroutines.
You have access to the AndroidX ViewModelScope, and also have this DSL to let you play with the context: https://github.com/arnaudgiuliani/uniflow-kt/blob/master/Documentation.md#coroutines-the-easy-way
We could add access to CoroutineExceptionHandler and redirect to the onError
function.