ktor-io / io.ktor.utils.io / ByteReadChannel / isClosedForRead

isClosedForRead

abstract val isClosedForRead: Boolean

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