isCancelled

abstract fun isCancelled(): Boolean

检查此延续是否已经被取消。

取消是一种完成状态。

Return

如果已被取消,返回 true;否则返回 false