File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3838/// You must invoke the continuation's `resume` method exactly once.
3939/// - Parameters:
4040/// - isolation: Actor isolation used when executing the body closure.
41+ /// - function: A string identifying the declaration that is the notional
42+ /// source for the continuation, used to identify the continuation in
43+ /// runtime diagnostics related to misuse of this continuation.
4144/// - body: A closure that takes a `IdentifiableContinuation` parameter.
4245/// - handler: Cancellation closure executed when the current Task is cancelled. Handler is always called _after_ the body closure is compeled.
4346/// - Returns: The value continuation is resumed with.
@@ -83,6 +86,9 @@ public func withIdentifiableContinuation<T>(
8386/// You must invoke the continuation's `resume` method exactly once.
8487/// - Parameters:
8588/// - isolation: Actor isolation used when executing the body closure.
89+ /// - function: A string identifying the declaration that is the notional
90+ /// source for the continuation, used to identify the continuation in
91+ /// runtime diagnostics related to misuse of this continuation.
8692/// - body: A closure that takes a `IdentifiableContinuation` parameter.
8793/// - handler: Cancellation closure executed when the current Task is cancelled. Handler is always called _after_ the body closure is compeled.
8894/// - Returns: The value continuation is resumed with.
You can’t perform that action at this time.
0 commit comments