ktor-io / io.ktor.utils.io / ByteWriteChannel / isClosedForWrite

isClosedForWrite

abstract val isClosedForWrite: Boolean

Returns true is channel has been closed and attempting to write to the channel will cause an exception.