{
  "id": "swift-structured-concurrency-table",
  "kind": "table",
  "slug": "swift-structured-concurrency",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/swift-structured-concurrency/",
  "title": "Use Swift task groups for structured concurrency",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "Wait for child tasks",
      "source": "The Swift Programming Language",
      "detail": "In a parent task, you cannot forget to wait for its child tasks to complete."
    },
    {
      "name": "Priority",
      "source": "The Swift Programming Language",
      "detail": "When setting a higher priority on a child task, the parent task priority is escalated automatically."
    },
    {
      "name": "Cancellation",
      "source": "The Swift Programming Language",
      "detail": "When a parent task is canceled, each child task is also automatically canceled."
    },
    {
      "name": "Task-local values",
      "source": "The Swift Programming Language",
      "detail": "Task-local values propagate to child tasks efficiently and automatically."
    }
  ],
  "related_slugs": [
    "swift-optionals",
    "python-asyncio-awaitables",
    "python-asyncio-basics"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (The Swift Programming Language); PSF-2.0 (Python docs); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}