cancel

abstract fun cancel(message: String?)

取消此作用域,这将立即取消其所有子协程。

Parameters

message

可选的取消原因,用于调试。