https://kotlinlang.org logo
#flow
Title
# flow
l

liminal

12/27/2022, 3:49 AM
Hi, how would I emit an error into my MutableStateFlow for testing?
g

gildor

12/27/2022, 6:54 AM
You cannot, because it cannot be completed (including finish with error)
Use Flow if it can finish with error
l

liminal

12/27/2022, 1:23 PM
Thanks @gildor !
5 Views