delay is a suspending function and checks if the coroutine has been cancelled. The code for delay indicates how it handles cancellation:.
確定! 回上一頁