https://kotlinlang.org logo
#coroutines
Title
# coroutines
f

FunkyMuse

11/13/2020, 10:39 AM
Hello folks, is there any way to transform flow into state flow like an extension function or something else?
b

bezrukov

11/13/2020, 10:41 AM
flow.stateIn
one is suspending function that suspends until first element collected second one is regular function, but requires initial value
👍 1
f

FunkyMuse

11/13/2020, 10:42 AM
Thank you
5 Views