Skip to content

Commit 46979c1

Browse files
authored
Merge pull request #2485 from ole/se-0381-links
[SE-0381]: Add link to review thread and unify metadata
2 parents 842ceed + 7b1b5ac commit 46979c1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

proposals/0381-task-group-discard-results.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
* Review Manager: [Doug Gregor](https://github.com/DougGregor)
66
* Status: **Implemented (Swift 5.9)**
77
* Implementation: [apple/swift#62361](https://github.com/apple/swift/pull/62361)
8-
* Decision Notes: [Rationale](https://forums.swift.org/t/accepted-se-0381-discardingtaskgroups/62615)
8+
* Review: ([pitch](https://forums.swift.org/t/pitch-task-pools/61703)) ([review](https://forums.swift.org/t/se-0381-discardresults-for-taskgroups/62072)) ([acceptance](https://forums.swift.org/t/accepted-se-0381-discardingtaskgroups/62615))
99

1010
### Introduction
1111

1212
We propose to introduce a new type of structured concurrency task group: `Discarding[Throwing]TaskGroup`. This type of group is similar to `TaskGroup` however it discards results of its child tasks immediately. It is specialized for potentially never-ending task groups, such as top-level loops of http or other kinds of rpc servers.
1313

14-
Pitch thread: [Task Pools](https://forums.swift.org/t/pitch-task-pools/61703).
15-
1614
## Motivation
1715

1816
Task groups are the building block of structured concurrency, allowing for the Swift runtime to relate groups of tasks together. This enables powerful features such as automatic cancellation propagation, correctly propagating errors, and ensuring well-defined lifetimes, as well as providing diagnostic information to programming tools.

0 commit comments

Comments
 (0)