Module tasks

Module tasks 

Source

Structs§

NamedTask
A named wrapper around a tokio JoinHandle, used to track which long-running task completed (or failed) first.

Functions§

wait_for_first_error
Wait for the first task to complete and convert the outcome into a single Result.
wait_for_first_task
Wait for the first task in the set to complete and return its name alongside the join result.