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

Tolriq

03/10/2020, 8:15 AM
Since DataFlow and share operator seems far away what would the current idiomatic way to have "something" that would support multiple senders to it and conflate to keep the last data and multiple receiver that comes and leaves, but when comes instantly get the last pushed value? (Pushed before it register)
a

Ahmed Ibrahim

03/10/2020, 11:45 AM
I guess using
ConflatedBroadcastChannel()
along with
asFlow()
?
👍 1
3 Views