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

ursus

09/29/2019, 6:05 AM
What would be the Beh.Relay equivalent?
a

Adam Powell

09/29/2019, 2:03 PM
Copy code
private val relay = BroadcastChannel<State>(Channel.CONFLATED)
val state = relay.asFlow()
And perhaps an actor or similar to serialize mutations into the broadcast channel
u

ursus

09/30/2019, 1:15 AM
Thanks. Btw what is this DataFlow im reading on github? replacement of conflated channel?
2 Views