voben
12/13/2019, 10:49 PMoffer
or send
function to send a value to the channel and why?Zach Klippenstein (he/him) [MOD]
12/13/2019, 11:12 PMConflatedChannel
, offer
and send
have the same behavior (i.e. send
will never suspend). Usually offer
is the only one you can actually use because you’re sending from a non-suspending method.voben
12/14/2019, 12:13 AM