You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry, I didn't realize that transform was intended to run in parallel. I had expected the same left-to-right semantics as reduce.
I think it would help if the documentation for transform called out this distinction explicitly. The documentation currently says that transform, "iterates over each element in series," which suggests that it's supposed to be serial.
What version of async are you using?
async 2.6.1.
Which environment did the issue occur in (Node version/browser version)
Node.js v8.11.2.
What did you do? Please include a minimal reproducable case illustrating issue.
What did you expect to happen?
Because transform is a relative of reduce, I would expect it to process the input array serially.
What was the actual result?
Transform processes the input array in parallel.
I'm not sure if anyone might depend on the current behavior, so maybe this is really a request for a transformSeries function.
The text was updated successfully, but these errors were encountered: