File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 4242 }
4343 ```
4444
45+ * [ SE-0462] [ ] :
46+ Task priority escalation may now be explicitly caused to a ` Task ` , as well as reacted to using the new task priority escalation handlers:
47+
48+ ``` swift
49+ // priority: low
50+ // priority: high!
51+ await withTaskPriorityEscalationHandler {
52+ await work ()
53+ } onPriorityEscalated : { newPriority in // may not be triggered if ->high escalation happened before handler was installed
54+ // do something
55+ }
56+ ```
57+
4558* The Swift compiler no longer diagnoses references to declarations that are
4659 potentially unavailable because the platform version might not be new enough
4760 when those references occur inside of contexts that are also unavailable to
@@ -10824,6 +10837,7 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
1082410837[SE- 0442 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0442-allow-taskgroup-childtaskresult-type-to-be-inferred.md
1082510838[SE- 0444 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
1082610839[SE- 0458 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0458-strict-memory-safety.md
10840+ [SE- 0462 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0462-task-priority-escalation-apis.md
1082710841[SE- 0469 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0469-task-names.md
1082810842[SE- 0470 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0470-isolated-conformances.md
1082910843[SE- 0472 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0472-task-start-synchronously-on-caller-context.md
You can’t perform that action at this time.
0 commit comments