ktor-io / io.ktor.utils.io / ByteChannelSequentialBase / isClosedForWrite

isClosedForWrite

open val isClosedForWrite: Boolean

Overrides ByteReadChannel.isClosedForWrite

Overrides ByteWriteChannel.isClosedForWrite

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