Simon Lin
09/29/2021, 3:59 AMCoroutineExceptionHandler
in flow?
for example
val flow = flow { emit("data") }
.shareIn(viewModelScope, SharingStarted.WhileSubscribed(), 1)
baxter
09/30/2021, 2:02 AMcatch
on the flow. The CoroutineExceptionHandler
is a context that is passed to a coroutine.