← All notes

Awaitables, Tasks, and TaskGroup

An awaitable object can be used in an await expression. [S1]

Awaitables and tasks

awaitable object if it can be used in an await expression. [S1]

create_task() function to run coroutines concurrently as asyncio Tasks. [S1]

TaskGroup class provides a more modern alternative to create_task(). [S1]

Library role

asyncio is a library to write concurrent code using the async/await syntax. [S2]

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Source: Python Software Foundation (Python 3 docs). PSF License Version 2 (https://docs.python.org/3/license.html).

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Python Software Foundation, Coroutines and Tasks, PSF License Version 2; Python Software Foundation, asyncio — Asynchronous I/O, PSF License Version 2.

Cite this

Permanent ID: iil:note:9eq7xnqt

iinventedlight. 2026. "Awaitables, Tasks, and TaskGroup." iinventedlight Library, iil:note:9eq7xnqt, version of 2026-11-06. https://iinventedlight.com/library/notes/python-asyncio-awaitables/. License: CC-BY-4.0.

@misc{iil_note_9eq7xnqt,
  author = {{iinventedlight}},
  title = {{Awaitables, Tasks, and TaskGroup}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-06},
  url = {https://iinventedlight.com/library/notes/python-asyncio-awaitables/},
  note = {Permanent ID iil:note:9eq7xnqt. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt. This page in Markdown: /library/notes/python-asyncio-awaitables.md.