prefect.concurrency.v1.asyncio
Functions
concurrency
names
: The names of the concurrency limits to acquire slots from.task_run_id
: The name of the task_run_id that is incrementing the slots.timeout_seconds
: The number of seconds to wait for the slots to be acquired before raising aTimeoutError
. A timeout ofNone
will wait indefinitely.
TimeoutError
: If the slots are not acquired within the given timeout.
concurrency
context manager: