Include parallelism in mapAsyncUnordered docs #21556
This commit is contained in:
parent
6fea2f3526
commit
0f71b841b5
5 changed files with 34 additions and 30 deletions
|
|
@ -559,10 +559,10 @@ trait FlowOps[+Out, +Mat] {
|
|||
/**
|
||||
* Transform this stream by applying the given function to each of the elements
|
||||
* as they pass through this processing step. The function returns a `Future` and the
|
||||
* value of that future will be emitted downstream. As many futures as requested elements by
|
||||
* downstream may run in parallel and each processed element will be emitted downstream
|
||||
* as soon as it is ready, i.e. it is possible that the elements are not emitted downstream
|
||||
* in the same order as received from upstream.
|
||||
* value of that future will be emitted downstream. The number of Futures
|
||||
* that shall run in parallel is given as the first argument to ``mapAsyncUnordered``.
|
||||
* Each processed element will be emitted downstream as soon as it is ready, i.e. it is possible
|
||||
* that the elements are not emitted downstream in the same order as received from upstream.
|
||||
*
|
||||
* If the function `f` throws an exception or if the `Future` is completed
|
||||
* with failure and the supervision decision is [[akka.stream.Supervision.Stop]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue