Links a TransformManyBlock to the pipeline.
public SimpleDataflow<TNext> TransformMany<TNext>(
Func<T, CancellationToken, Task<IEnumerable<TNext>>> func)
If necessary, use Enumerable.AsEnumerable to cast the return value to an IEnumerable<T> when using a lambda expression.
Links a TransformManyBlock to the pipeline.
public SimpleDataflow<TNext> TransformMany<TNext>(Func<T, IEnumerable<TNext>> func)
Links a TransformManyBlock to the pipeline.
public SimpleDataflow<TNext> TransformMany<TNext>(Func<T, Task<IEnumerable<TNext>>> func)
If necessary, use Enumerable.AsEnumerable to cast the return value to an IEnumerable<T> when using a lambda expression.