Closed henryqdineen closed 9 years ago
Thanks for the response. I was hoping for a line like "Execution order is not guaranteed" in the JS doc, but as I'm looking at the code I see that's actually in a different project https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/bluebird/v2/index.d.ts#L304
I am having a problem with the concurrency option for
Promise.map
. I'm my code I want the order of execution of promises to match the order of the input (in my case optimizing file reads from a CDROM)Consider this example:
The console output of this code will be
1 2 5 4 3