There was an error while loading. Please reload this page.
1 parent 96ee81c commit 6ad2df7Copy full SHA for 6ad2df7
1 file changed
doc/api/stream.md
@@ -2326,6 +2326,11 @@ stopped by having passed a `signal` option and aborting the related
2326
`AbortController` while `for await...of` can be stopped with `break` or
2327
`return`. In either case the stream will be destroyed.
2328
2329
+When `concurrency` is greater than `1`, `fn` may be invoked on multiple chunks
2330
+at once, but the calls are still awaited in chunk order (like
2331
+[`readable.map`][]), so a slow `fn` call on an early chunk delays completion
2332
+of the calls on later chunks.
2333
+
2334
This method is different from listening to the [`'data'`][] event in that it
2335
uses the [`readable`][] event in the underlying machinery and can limit the
2336
number of concurrent `fn` calls.
0 commit comments