We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
//原文是这样的: let task = delay(5) { print("拨打 110") } cancel(task)
let task = delay(5) { print("拨打 110") }
cancel(task)
//应该是这样取消操作的吧 let cancel = dealy(5) { print("拨打110") } cancel?(true)
let cancel = dealy(5) { print("拨打110") }
cancel?(true)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
//原文是这样的:
let task = delay(5) { print("拨打 110") }
cancel(task)
//应该是这样取消操作的吧
let cancel = dealy(5) { print("拨打110") }
cancel?(true)
The text was updated successfully, but these errors were encountered: