isClosedForWrite

abstract fun isClosedForWrite(): Boolean

当前通道是否已关闭写入端

返回 true 时,继续调用写入函数会抛出异常。