Skip to content

Commit 56123a3

Browse files
committed
Add changelog for SE-300
1 parent 283abc0 commit 56123a3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
66
Swift 5.5
77
---------
88

9+
* [SE-0300][]:
10+
11+
Async functions can now be suspended using the `withUnsafeContinuation`
12+
and `withUnsafeThrowingContinuation` functions. These both take a closure,
13+
and then suspend the current async task, executing that closure with a
14+
continuation value for the current task. The program must use that
15+
continuation at some point in the future to resume the task, passing in
16+
a value or error, which then becomes the result of the `withUnsafeContinuation`
17+
call in the resumed task.
18+
919
* Type names are no longer allowed as an argument to a subscript parameter that expects a metatype type
1020

1121
```swift

0 commit comments

Comments
 (0)