File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
66Swift 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
@@ -8493,6 +8503,7 @@ Swift 1.0
84938503[SE- 0297 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0297-concurrency-objc.md>
84948504[SE- 0298 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0298-asyncsequence.md>
84958505[SE- 0299 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0299-extend-generic-static-member-lookup.md>
8506+ [SE- 0300 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0300-continuation.md>
84968507[SE- 0306 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0306-actors.md>
84978508[SE- 0310 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0310-effectful-readonly-properties.md>
84988509
You can’t perform that action at this time.
0 commit comments