Skip to content

Commit 903e9c4

Browse files
committed
Refer to checked APIs in CheckedContinuation overview
1 parent 57cf4ce commit 903e9c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/CheckedContinuation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ internal final class CheckedContinuationCanary: @unchecked Sendable {
9393
///
9494
/// A *continuation* is an opaque representation of program state.
9595
/// To create a continuation in asynchronous code,
96-
/// call the `withUnsafeContinuation(function:_:)` or
97-
/// `withUnsafeThrowingContinuation(function:_:)` function.
96+
/// call the `withCheckedContinuation(isolation:function:_:)` or
97+
/// `withCheckedThrowingContinuation(isolation:function:_:)` function.
9898
/// To resume the asynchronous task,
9999
/// call the `resume(returning:)`,
100100
/// `resume(throwing:)`,

0 commit comments

Comments
 (0)