Skip to content

Glossary: Swift Beyond the Basics

unstructured task

Also written: Task {}, Task.detached

A task started with `Task { }` that belongs to no parent. Keep it in a constant to wait for `task.value` or call `cancel()`.

Where the book teaches it

Related terms

structured concurrencycancellation