Repository URL to install this package:
|
Version:
2.2.2 ▾
|
"""Concurrency-related utility functions."""
from .bundler import AsyncBundler
from .delay import delayed
from .future import Future, FutureCancelled, FutureMap
from .gather import gather
from .race import race
from .retries import (
AdaptiveExponentialBackoffPolicy,
ExponentialBackoffPolicy,
FixedRetryPolicy,
RetryPolicy,
run_with_retries,
)
from .scheduler import Job, Scheduler
from .tasks import AwaitableCancelScope, CancellableTaskGroup, cancellable
from .watchdog import Watchdog, use_watchdog
__all__ = (
"AdaptiveExponentialBackoffPolicy",
"AsyncBundler",
"AwaitableCancelScope",
"cancellable",
"CancellableTaskGroup",
"delayed",
"ExponentialBackoffPolicy",
"FixedRetryPolicy",
"Future",
"FutureCancelled",
"FutureMap",
"gather",
"Job",
"race",
"RetryPolicy",
"run_with_retries",
"Scheduler",
"use_watchdog",
"Watchdog",
)