Expand description
A set of async utilities.
Modulesยง
Structsยง
- Exponential backoff https://en.wikipedia.org/wiki/Exponential_backoff
- CondVar is an async version of https://doc.rust-lang.org/std/sync/struct.Condvar.html
- CondWait is a wrapper struct for CondVar with a Mutex boolean flag.
- TaskGroup A group that contains spawned tasks.
Enumsยง
- The return value from the
select
function, indicating which future completed first. - The result of a spawned task.
Functionsยง
- Returns the result of the future that completes first, preferring future1 if both are ready.
- Waits for a future to complete or times out if it exceeds a specified duration.