elizarov
03/13/2017, 7:32 PMafterClose
function for that specific need. You need to override it: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.experimental.channels/-abstract-channel/after-close.html (it is invoked at most once)