| SourceTOut, TMatRunForeach Method |
Shortcut for running this
SourceTOut, TMat with a foreach procedure. The given procedure is invoked
for each received element.
The returned
Task will be completed with Success when reaching the
normal end of the stream, or completed with 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)
Syntax public Task RunForeach(
Action<TOut> action,
IMaterializer materializer
)
member RunForeach :
action : Action<'TOut> *
materializer : IMaterializer -> Task
Parameters
- action
- Type: SystemActionTOut
TBD - materializer
- Type: Akka.StreamsIMaterializer
TBD
Return Value
Type:
TaskTBD
See Also