Expand description

A crate providing a future similar to future’s join but with a limited amount of concurrency.

Example

// Pretend we have a ton of files we want to download, but don't want to
// overwhelm the server.
let futures = files_to_download.into_iter().map(download::download_file);

// Let's limit the number of concurrent downloads to 4, and wait for all
// the files to download.
limited_join::join(futures, 4).await;

Structs

The Future behind the join function.

Functions

Returns a future that acts as a join of multiple futures, but with a limit on how many futures can be running at once.