We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3994ec commit 09bbcddCopy full SHA for 09bbcdd
stdlib/public/Concurrency/TaskCancellation.swift
@@ -19,7 +19,9 @@ import Swift
19
///
20
/// - Parameters:
21
/// - operation: The operation to perform.
22
-/// - handler: A closure to execute, once, if the operation is canceled.
+/// - handler: A closure to execute on cancellation.
23
+/// If the task is canceled, this closure is called at most once;
24
+/// otherwise, it isn't called.
25
/// - isolation: The actor that the operation and cancellation handler are isolated to.
26
27
/// This differs from the operation cooperatively checking for cancellation
0 commit comments