Join Slack
Powered by
How do I receive all elements from a `Channel` , w...
# coroutines
m
Marcin Wisniowski
03/13/2021, 11:18 PM
How do I receive all elements from a
Channel
, whether it's 0 or more, not suspending either way?
a
Adam Powell
03/14/2021, 12:16 AM
.poll()
will do the trick so long as the channel element type isn't nullable
🙏 1
5
Views
Open in Slack
Previous
Next