louiscad
04/20/2018, 7:00 AMChannel(capacity = UNLIMITED)
+ offer(...)
or a rendez-vous Channel()
+ launch { send(...) }
?Vsevolod Tolstopyatov [JB]
04/20/2018, 8:25 AMoffer
is faster because it doesn’t require context (thread) switch (which launch
usually implies)louiscad
04/20/2018, 8:26 AM