uli06/18/2018, 3:42 PM
A channel that was closed without a cause throws ClosedSendChannelException on attempts to send or receive. A channel that was closed with non-null cause is called a failed channel. Attempts to send or receive on a failed channel throw the specified cause exception.
But does not talk about the SendChannel being closed
The running coroutine is cancelled when its receive channel is cancelled.