Indicates that the module should process documents in parallel.
- Namespace
- Statiq
.Common - Containing Type
- I
Parallel Module Extensions
Syntax
public static TModule WithParallelExecution<TModule>(this TModule module, bool parallel = true)
where TModule : IParallelModule
Type Parameters
Name | Description |
---|---|
TModule | The type of module. |
Parameters
Name | Type | Description |
---|---|---|
module | TModule | The module that should process documents in parallel. |
parallel | bool | true to process documents in parallel, false otherwise. |
Return Value
Type | Description |
---|---|
TModule | The module. |