Skip to content

Commit 269748d

Browse files
committed
chore: Add foreach to index.md
1 parent aebe6cd commit 269748d

File tree

1 file changed

+2
-0
lines changed
  • docs/src/main/paradox/stream/operators

1 file changed

+2
-0
lines changed

docs/src/main/paradox/stream/operators/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ These built-in sinks are available from @scala[`org.apache.pekko.stream.scaladsl
6161
|Sink|<a name="combine"></a>@ref[combine](Sink/combine.md)|Combine several sinks into one using a user specified strategy|
6262
|Sink|<a name="completionstagesink"></a>@ref[completionStageSink](Sink/completionStageSink.md)|Streams the elements to the given future sink once it successfully completes. |
6363
|Sink|<a name="fold"></a>@ref[fold](Sink/fold.md)|Fold over emitted element with a function, where each invocation will get the new element and the result from the previous fold invocation.|
64+
|Sink|<a name="foreach"></a>@ref[foreach](Sink/foreach.md)|Invoke a given procedure for each element received.|
6465
|Sink|<a name="foreachasync"></a>@ref[foreachAsync](Sink/foreachAsync.md)|Invoke a given procedure asynchronously for each element received.|
6566
|Sink|<a name="foreachparallel"></a>@ref[foreachParallel](Sink/foreachParallel.md)|Like `foreach` but allows up to `parallellism` procedure calls to happen in parallel.|
6667
|Sink|<a name="frommaterializer"></a>@ref[fromMaterializer](Sink/fromMaterializer.md)|Defer the creation of a `Sink` until materialization and access `Materializer` and `Attributes`|
@@ -445,6 +446,7 @@ For more background see the @ref[Error Handling in Streams](../stream-error.md)
445446
* [fold](Source-or-Flow/fold.md)
446447
* [fold](Sink/fold.md)
447448
* [foldAsync](Source-or-Flow/foldAsync.md)
449+
* [foreach](Sink/foreach.md)
448450
* [foreachAsync](Sink/foreachAsync.md)
449451
* [foreachParallel](Sink/foreachParallel.md)
450452
* [from](Source/from.md)

0 commit comments

Comments
 (0)