Join Slack
Powered by
iterating over a channel with a for loop won’t clo...
# coroutines
w
withoutclass
06/12/2018, 2:30 PM
iterating over a channel with a for loop won’t close the channel but using the helper
consumeEach
will close it if the coroutine the code is running in get’s canceled
6
Views
Open in Slack
Previous
Next