Skip to main content

Module async_utils

Module async_utils 

Source
Expand description

Async utility functions

Constants§

DEFAULT_ASYNC_TIMEOUT
LONG_ASYNC_TIMEOUT
SHORT_ASYNC_TIMEOUT

Functions§

join_all_with_timeout
Run multiple futures and wait for all with a timeout
retry_with_backoff
Retry an operation with exponential backoff
sleep_with_context
Sleep with context
with_default_timeout
Execute a future with the default timeout
with_long_timeout
Execute a future with a long timeout
with_short_timeout
Execute a future with a short timeout
with_timeout
Execute a future with a timeout and context