Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"""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",
)