Module vector_select

Source
Expand description

Async select over future vectors.

Allows collecting dyn Future objects (i.e. async function instances) in a vector, and selecting (awaiting one) or joining (awaiting all) them.

Structsยง

FutureVector ๐Ÿ”’
Collect futures and await one or all of them.
FutureVectorDiscardingJoin ๐Ÿ”’
Await all futures, discarding successful results.
FutureVectorSelect ๐Ÿ”’
Await a single future.