Executes the specified action on each item in the pipeline.
public SimpleDataflow ForAll(Action<T> action)
Implemented with a TransformBlock
that returns the same items.
Executes the specified action on each item in the pipeline.
public SimpleDataflow ForAll(Func<T, CancellationToken, Task> action)
Implemented with a TransformBlock
that returns the same items.
Executes the specified action on each item in the pipeline.
public SimpleDataflow ForAll(Func<T, Task> action)
Implemented with a TransformBlock
that returns the same items.