My understanding of RendezvousChannel is the if th...
# coroutines
e
My understanding of RendezvousChannel is the if the receiver isn't waiting to receive, the sender will suspend until there is a receiver. In this case it doesn't appear to be happening, because it seems like the values sent are getting dropped if there is no receiver waiting.
d
That is correct.
But your not sending, you're offering.
offer tries to send but gives up if it has to suspend.
❤️ 1
You're gonna have to use
sendBlocking
or a buffered channel.
e
Ha just figured that out as you posted it
Thanks