mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
9ead8781d4
Co-authored-by: Alex Martini <amartini@apple.com> Co-authored-by: Graham Lee <glee23@apple.com> Co-authored-by: Chris Adamson <cadamson@apple.com> Co-authored-by: Kirby Turner <kirby_turner@apple.com> Co-authored-by: Paris Pinkney <ppinkney@apple.com> Co-authored-by: Dave Spector <dspector@apple.com> Co-authored-by: Sofia Rodriguez Morales <sofia_rodriguez@apple.com> Co-authored-by: Ethan Kusters <ekusters@apple.com> Co-authored-by: Goli Mohammadi <g_mohammadi@apple.com> Co-authored-by: Adora Vaz <a_vaz@apple.com> Co-authored-by: David Rönnqvist <ronnqvist@apple.com> Co-authored-by: Nate Merseth Cook <natecook@apple.com> Co-authored-by: Susan Conant <susan_c@apple.com>
71 lines
2.8 KiB
Markdown
71 lines
2.8 KiB
Markdown
# ``Swift/ThrowingTaskGroup``
|
|
|
|
## Topics
|
|
|
|
### Adding Tasks to a Throwing Task Group
|
|
|
|
- ``Swift/ThrowingTaskGroup/addTask(priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addTask(executorPreference:priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addTask(name:priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addTask(name:executorPreference:priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addTaskUnlessCancelled(priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addTaskUnlessCancelled(name:executorPreference:priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addTaskUnlessCancelled(executorPreference:priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addTaskUnlessCancelled(name:priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addImmediateTask(name:priority:executorPreference:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/addImmediateTaskUnlessCancelled(name:priority:executorPreference:operation:)``
|
|
|
|
### Accessing Individual Results
|
|
|
|
- ``Swift/ThrowingTaskGroup/next()``
|
|
- ``Swift/ThrowingTaskGroup/nextResult(isolation:)``
|
|
- ``Swift/ThrowingTaskGroup/next(isolation:)``
|
|
- ``Swift/ThrowingTaskGroup/isEmpty``
|
|
- ``Swift/ThrowingTaskGroup/waitForAll(isolation:)``
|
|
|
|
### Accessing an Asynchronous Sequence of Results
|
|
|
|
- ``Swift/ThrowingTaskGroup/makeAsyncIterator()``
|
|
- ``Swift/ThrowingTaskGroup/allSatisfy(_:)``
|
|
- ``Swift/ThrowingTaskGroup/compactMap(_:)-944nh``
|
|
- ``Swift/ThrowingTaskGroup/compactMap(_:)-7mgi5``
|
|
- ``Swift/ThrowingTaskGroup/contains(_:)``
|
|
- ``Swift/ThrowingTaskGroup/contains(where:)``
|
|
- ``Swift/ThrowingTaskGroup/drop(while:)``
|
|
- ``Swift/ThrowingTaskGroup/dropFirst(_:)``
|
|
- ``Swift/ThrowingTaskGroup/filter(_:)``
|
|
- ``Swift/ThrowingTaskGroup/first(where:)``
|
|
- ``Swift/ThrowingTaskGroup/flatMap(_:)-dwsi``
|
|
- ``Swift/ThrowingTaskGroup/flatMap(_:)-319er``
|
|
- ``Swift/ThrowingTaskGroup/flatMap(_:)-8ved0``
|
|
- ``Swift/ThrowingTaskGroup/flatMap(_:)->AsyncThrowingFlatMapSequence<Self,SegmentOfResult>``
|
|
- ``Swift/ThrowingTaskGroup/map(_:)-58nrv``
|
|
- ``Swift/ThrowingTaskGroup/map(_:)-4a4ju``
|
|
- ``Swift/ThrowingTaskGroup/max()``
|
|
- ``Swift/ThrowingTaskGroup/max(by:)``
|
|
- ``Swift/ThrowingTaskGroup/min()``
|
|
- ``Swift/ThrowingTaskGroup/min(by:)``
|
|
- ``Swift/ThrowingTaskGroup/prefix(_:)``
|
|
- ``Swift/ThrowingTaskGroup/prefix(while:)``
|
|
- ``Swift/ThrowingTaskGroup/reduce(_:_:)``
|
|
- ``Swift/ThrowingTaskGroup/reduce(into:_:)``
|
|
|
|
### Canceling Tasks
|
|
|
|
- ``Swift/ThrowingTaskGroup/isCancelled``
|
|
- ``Swift/ThrowingTaskGroup/cancelAll()``
|
|
|
|
### Supporting Types
|
|
|
|
- ``Swift/ThrowingTaskGroup/Element``
|
|
- ``Swift/ThrowingTaskGroup/Iterator``
|
|
- ``Swift/ThrowingTaskGroup/AsyncIterator``
|
|
|
|
### Deprecated
|
|
|
|
- ``Swift/ThrowingTaskGroup/add(priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/async(priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/asyncUnlessCancelled(priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/spawn(priority:operation:)``
|
|
- ``Swift/ThrowingTaskGroup/spawnUnlessCancelled(priority:operation:)``
|