Nowadays you can do:

    for 10.times {
        do spawn {
            ...
        }
    }

to launch 10 asynchronous things. In the future there might be a `par`
library to make doing things in parallel more uniform.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to