The FuturesUnordered
doesn't start polling its contents until you poll it (via calling ft.next()
).
If you want tasks to run while you are starting them slowly, consider using tokio::task::JoinSet
instead of FuturesUnordered
, which is a way to have a collection of spawned background tasks.
Source: View source