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

Daniele Segato

09/03/2020, 9:23 AM
I'm migrating libraries from Rx to Kotlin Coroutines/Flow --- would be nice if I could start using
shareIn
/
stateIn
operators... I'm currently planning to work around those by transforming to Rx, using
publish().refCount()
or
replay().refCount()
and then turning it back to
Flow
cause i can't wait anymore for the new operator. I need to stabilize the API so the only other option without those operators is to go with Rx. When
shareIn
will be available I should be able to remove the Rx dependency without having to modify the API interface (hopefully). Do you know if there's something particular holding back the release of
ShareFlow
or if we could expect it to be available soon?
1
5 Views