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

mingkangpan

03/27/2019, 2:24 PM
Copy code
I/System.out: RendezvousChannel@6d58005{ReceiveQueued,queueSize=4}
can anyone elaborate what
queueSize
means?
g

gildor

03/28/2019, 2:03 AM
Every channel based on non-blocking queue that used to process all channel events like offer, send, close etc without blocking
m

mingkangpan

03/29/2019, 12:29 PM
this means? what is queueSize then?
g

gildor

03/29/2019, 1:12 PM
This is size of internal event queue of channel, it means there are 4 unprocessed events in queue It may mean nothing without additional context
m

mingkangpan

03/29/2019, 8:20 PM
but what is an
event
in a rendezvous channel without any buffer? 🤔
5 Views