is it possible to get a channel to drop items (have
.offer(item)
return
false
) if no one is receiving?
d
Dominaezzz
09/19/2019, 2:00 AM
Doesn't it? I misread that. Use 0 capacity channel
r
rkeazor
09/19/2019, 11:23 AM
Umm well depends on the buffer size. Because unlimited and conflated will always return true.... But offer isnt a suspending function like send is it only returns false when it is impossible to do so.
rkeazor
09/19/2019, 11:24 AM
So in other words, if the sender can suspend, than the offer can drop lol