https://kotlinlang.org logo
#coroutines
Title
# 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