Skip to content

Glossary: Swift Beyond the Basics

task group

Also written: withTaskGroup, withThrowingTaskGroup, addTask

A group of child tasks run side by side, for any number of jobs. You add children with `addTask` and read results with `for await`, in completion order.

Where the book teaches it

Related terms

child taskstructured concurrencyAsyncSequencecompletion order