 | Sink.ForEach<TIn> Method |
A
Sink< TIn, TMat> that will invoke the given
action for each received element.
The sink is materialized into a
Task will be completed with success when reaching the
normal end of the stream, or completed with a failure if there is a failure signaled in
the stream..
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic static Sink<TIn, Task> ForEach<TIn>(
Action<TIn> action
)
static member ForEach :
action : Action<'TIn> -> Sink<'TIn, Task>
Parameters
- action
- Type: System.Action<TIn>
TBD
Type Parameters
- TIn
- TBD
Return Value
Type:
Sink<TIn,
Task>TBD
See Also