Files
Chris Adamson d0d078517a Update stdlib DocC curation for 6.4 symbols. (#92405)
This PR updates files in the `stdlib.docc` directory to provide curation
for symbols added to the standard library in release 6.4, including task
cancellation shields and refs.

The [stdlib documentation on
docs.swift.org](https://docs.swift.org/latest/documentation/swift) uses
these files to organize the online documentation into topics.

This PR doesn't affect any compilable source. It's only for the use of
the `docc` compiler to produce documentation, either in swift.org's CI
or if someone wants to generate a local copy.

rdar://181594680
2026-10-01 14:21:26 -07:00

2.3 KiB

Swift/TaskGroup

Topics

Adding Tasks to a Task Group

  • Swift/TaskGroup/addTask(priority:operation:)
  • Swift/TaskGroup/addTask(name:priority:operation:)
  • Swift/TaskGroup/addTask(executorPreference:priority:operation:)
  • Swift/TaskGroup/addTask(name:executorPreference:priority:operation:)
  • Swift/TaskGroup/addTaskUnlessCancelled(name:executorPreference:priority:operation:)
  • Swift/TaskGroup/addTaskUnlessCancelled(executorPreference:priority:operation:)
  • Swift/TaskGroup/addTaskUnlessCancelled(name:priority:operation:)
  • Swift/TaskGroup/addTaskUnlessCancelled(priority:operation:)
  • Swift/TaskGroup/addImmediateTask(name:priority:executorPreference:operation:)
  • Swift/TaskGroup/addImmediateTaskUnlessCancelled(name:priority:executorPreference:operation:)

Accessing Individual Results

  • Swift/TaskGroup/next()
  • Swift/TaskGroup/next(isolation:)
  • Swift/TaskGroup/isEmpty
  • Swift/TaskGroup/waitForAll()

Accessing an Asynchronous Sequence of Results

  • Swift/TaskGroup/makeAsyncIterator()
  • Swift/TaskGroup/allSatisfy(_:)
  • Swift/TaskGroup/compactMap(_:)-944od
  • Swift/TaskGroup/compactMap(_:)-7mgj1
  • Swift/TaskGroup/contains(_:)
  • Swift/TaskGroup/contains(where:)
  • Swift/TaskGroup/drop(while:)
  • Swift/TaskGroup/dropFirst(_:)
  • Swift/TaskGroup/filter(_:)
  • Swift/TaskGroup/first(where:)
  • Swift/TaskGroup/flatMap(_:)-vhi3
  • Swift/TaskGroup/map(_:)-58nsr
  • Swift/TaskGroup/map(_:)-4a4kq
  • Swift/TaskGroup/max()
  • Swift/TaskGroup/max(by:)
  • Swift/TaskGroup/min()
  • Swift/TaskGroup/min(by:)
  • Swift/TaskGroup/prefix(_:)
  • Swift/TaskGroup/prefix(while:)
  • Swift/TaskGroup/reduce(_:_:)
  • Swift/TaskGroup/reduce(into:_:)

Canceling Tasks

  • Swift/TaskGroup/isCancelled
  • Swift/TaskGroup/cancelAll()

Supporting Types

  • Swift/TaskGroup/Element
  • Swift/TaskGroup/Iterator
  • Swift/TaskGroup/AsyncIterator

Deprecated

  • Swift/TaskGroup/add(priority:operation:)
  • Swift/TaskGroup/async(priority:operation:)
  • Swift/TaskGroup/asyncUnlessCancelled(priority:operation:)
  • Swift/TaskGroup/spawn(priority:operation:)
  • Swift/TaskGroup/spawnUnlessCancelled(priority:operation:)
  • Swift/TaskGroup/waitForAll(isolation:)