ktor-io / io.ktor.utils.io / close

close

fun ByteWriteChannel.close(): Boolean

Closes this channel with no failure (successfully)