For each element of a, runs f in parallel. Returns a collection of all the results of f.
If any call to f throws an exception, this will throw that too. (If multiple calls to f throw an exception, one will be thrown arbitrarily.) This will still wait for all calls to f to complete before returning.
For each element of
a, runsfin parallel. Returns a collection of all the results off.If any call to
fthrows an exception, this will throw that too. (If multiple calls tofthrow an exception, one will be thrown arbitrarily.) This will still wait for all calls tofto complete before returning.