=doc #20051 Parallellism docs updated for async and fusing
This commit is contained in:
parent
c735403d47
commit
5e5bedb956
8 changed files with 47 additions and 30 deletions
|
|
@ -29,7 +29,7 @@ class RecipeWorkerPool extends RecipeSpec {
|
|||
for (_ <- 1 to workerCount) {
|
||||
// for each worker, add an edge from the balancer to the worker, then wire
|
||||
// it to the merge element
|
||||
balancer ~> worker ~> merge
|
||||
balancer ~> worker.async ~> merge
|
||||
}
|
||||
|
||||
FlowShape(balancer.in, merge.out)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue