Skip to content

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);

View source

Parameters

Name Type Description
strategy ParallelStrategy The strategy.

Returns

ParallelPipelineStageBuilder<TContext, TBaseNode>

The fluent builder.