ParallelPipelineStageBuilder<TContext, TBaseNode>.WithStrategy Method
Definition
Sets how the stage divides its work between threads. Defaults to PerNode.
public ParallelPipelineStageBuilder<TContext, TBaseNode> WithStrategy(ParallelStrategy strategy);
Parameters
| Name | Type | Description |
|---|---|---|
strategy |
ParallelStrategy |
The strategy. |
Returns
ParallelPipelineStageBuilder<TContext, TBaseNode>
The fluent builder.