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 32
32
}
33
33
```
34
34
35
+ * [ SE-0469] [ ] :
36
+ Swift concurrency tasks (both unstructured and structured, via the TaskGroup ` addTask ` APIs) may now be given
37
+ human-readable names, which can be used to support debugging and identifying tasks.
38
+
39
+ ``` swift
40
+ let getUsers = Task (" Get Users for \( accountID ) " ) {
41
+ await users.get (accountID)
42
+ }
43
+ ```
44
+
35
45
* The Swift compiler no longer diagnoses references to declarations that are
36
46
potentially unavailable because the platform version might not be new enough
37
47
when those references occur inside of contexts that are also unavailable to
@@ -10814,6 +10824,7 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
10814
10824
[SE- 0442 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0442-allow-taskgroup-childtaskresult-type-to-be-inferred.md
10815
10825
[SE- 0444 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
10816
10826
[SE- 0458 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0458-strict-memory-safety.md
10827
+ [SE- 0469 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0469-task-names.md
10817
10828
[SE- 0470 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0470-isolated-conformances.md
10818
10829
[SE- 0472 ]: https: // github.com/swiftlang/swift-evolution/blob/main/proposals/0472-task-start-synchronously-on-caller-context.md
10819
10830
[#64927 ]: < https: // github.com/apple/swift/issues/64927>
You can’t perform that action at this time.
0 commit comments