Method WithNativeDisableParallelForRestriction
WithNativeDisableParallelForRestriction<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType)
Disables safety checks for a captured native container for the generated parallel job that may write to the same container from other job workers for the same job instance.
Declaration
public static TDescription WithNativeDisableParallelForRestriction<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType capturedVariable) where TDescription : ILambdaJobDescriptionParameters
| Type | Name | Description | 
|---|---|---|
| TDescription | description | The target object | 
| TCapturedVariableType | capturedVariable | Captured variable that stores a NativeContainer | 
Returns
| Type | Description | 
|---|---|
| TDescription | The target object, suitable for chaining multiple methods | 
Type Parameters
| Name | Description | 
|---|---|
| TDescription | Type of target object | 
| TCapturedVariableType | Type of captured variable |