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

dave08

10/19/2017, 3:07 PM
But a with a buffer, offer does it when it can, or still returns false?
c

cy

10/20/2017, 6:30 PM
offer
returns
true
if it succeeded (an element has been transferred to a receiver or there was enough space in the buffer and the element has been copied to it) otherwise returns
false
immediately.
send
does suspend until an element get transferred to the buffer or to a receiver.
👍🏼 1
3 Views