ktor-io / io.ktor.utils.io / ByteChannelSequentialBase / isClosedForRead

isClosedForRead

open val isClosedForRead: Boolean

Overrides ByteReadChannel.isClosedForRead

Returns true if the channel is closed and no remaining bytes are available for read. It implies that availableForRead is zero.