cancel

abstract suspend fun cancel(reason: Throwable? = null): Boolean(source)

关闭操作.

Return

尚未关闭且关闭成功时返回true。