louiscad
12/14/2017, 1:28 PMsend()
and offer()
when using RendezVousChannel
apart from the fact that offer()
is not suspended?elizarov
12/14/2017, 2:44 PMsend
suspends until rendezvous is made, while offer
returns false
and does not do anything in this caselouiscad
12/14/2017, 3:18 PMlaunch(UI) { send(response) }
with offer(response)
without breaking my WIP lib. Or maybe it returns true
if there's already a received()
call awaiting the rendez-vous and false otherwise ?dave08
12/14/2017, 5:20 PMlouiscad
12/14/2017, 6:37 PMelizarov
12/14/2017, 6:43 PMoffer
returns true if it happens to make rendezvous and false otherwise. You are likely just to have good timing in your tests.