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

Jan Stoltman

09/05/2019, 2:51 PM
Is there any good explanation about how the BroadcastChannel's buffer works? In my tests it seems like it's ignored and my receiver receives only values sent after its subscription.
w

withoutclass

09/05/2019, 3:00 PM
A receiver must be subscribed in order to receive a value iirc
These are still "hot" channels
z

Zach Klippenstein (he/him) [MOD]

09/05/2019, 3:06 PM
Except for conflated broadcast channel, which will always cache. Useful, but I always have to remind myself which does what.
👍 2
4 Views