constellation-rs/amadeus

Limit the number of concurrent tasks across multiple invocations

Opened this issue · 0 comments

This for example will run 2x the configured limit on concurrent tasks:

let a = a.dist_stream().count();
let b = b.dist_stream().count();
let (a, b) = join!(a, b).await;