TaskGroup
when it's used for long-lived asyncio tasks. (#21)The first 1.0.0 release.
Available modules:
get_running_loop
, current_task
, all_tasks
contextlib.asynccontextmanager
introduced in Python 3.7 for Python 3.6lru_cache
and partial
iter
current_taskgroup
context-variable supportasyncio.sleep
and a while loop, with a bonus class VirtualClock
that instantly and deterministically skips over long sleeps during tests