P33 · Asyncio & Coroutines

the event loop, tasks & structured concurrency

Cooperative concurrency, built then used: model the event loop with generators, run real asyncio - gather, TaskGroups, timeouts - and bridge safely out to the blocking and CPU-bound world when the loop is the wrong tool.