ktor-io / io.ktor.utils.io / cancel

cancel

fun ByteReadChannel.cancel(): Boolean