| SinkForEachParallelTIn Method |
A
SinkTIn, TMat that will invoke the given
action
to each of the elements as they pass in. The sink is materialized into a
Task.
If the action throws an exception and the supervision decision is
Stop the
Task will be completed with failure.
If the action throws an exception and the supervision decision is
Resume or
Restart the
element is dropped and the stream continues.
See also
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Sink<TIn, Task> ForEachParallel<TIn>(
int parallelism,
Action<TIn> action
)
static member ForEachParallel :
parallelism : int *
action : Action<'TIn> -> Sink<'TIn, Task>
Parameters
- parallelism
- Type: SystemInt32
TBD - action
- Type: SystemActionTIn
TBD
Type Parameters
- TIn
- TBD
Return Value
Type:
SinkTIn,
TaskTBD
See Also