ParallelSyncModule Class
A module that processes documents in parallel (with the option to process sequentially).
graph BT Type-->Base0["Module"] click Base0 "/api/Statiq.Common/Module" Base0-->Base1["object"] Type-.->Interface0["IModule"] click Interface0 "/api/Statiq.Common/IModule" Type-.->Interface1["IParallelModule"] click Interface1 "/api/Statiq.Common/IParallelModule" Type["ParallelSyncModule"] class Type type-node Derived0["ParseYaml"]-->Type click Derived0 "/api/Statiq.Yaml/ParseYaml" Derived1["SetContentType"]-->Type click Derived1 "/api/Statiq.Web.Modules/SetContentType" Derived2["RenderCsvAsMarkdown"]-->Type click Derived2 "/api/Statiq.Tables/RenderCsvAsMarkdown" Derived3["MutateImage"]-->Type click Derived3 "/api/Statiq.Images/MutateImage" Derived4["ConvertExcelToCsv"]-->Type click Derived4 "/api/Statiq.Tables/ConvertExcelToCsv" Derived5["ReadYouTube"]-->Type click Derived5 "/api/Statiq.YouTube/ReadYouTube" Derived6["RenderCsvAsHtml"]-->Type click Derived6 "/api/Statiq.Tables/RenderCsvAsHtml"

Syntax

public abstract class ParallelSyncModule : Module, IModule, IParallelModule

Properties

Name Property Type Summary
Parallel bool
Indicates whether documents will be processed by this module in parallel.

Methods

Name Return Value Summary
AfterExecution(IExecutionContext, ExecutionOutputs) void
Called after each module execution.
Inherited from Module
AfterExecutionAsync(IExecutionContext, ExecutionOutputs) Task
Called after each module execution.
Inherited from Module
BeforeExecution(IExecutionContext) void
Called before each module execution.
Inherited from Module
BeforeExecutionAsync(IExecutionContext) Task
Called before each module execution.
Inherited from Module
ExecuteAsync(IExecutionContext) Task<IEnumerable<IDocument>>
This should not be called directly, instead call IExecutionContext.Execute() if you need to execute a module from within another module.
Inherited from Module
ExecuteContextAsync(IExecutionContext) Task<IEnumerable<IDocument>>
Executes the module once for all input documents.
ExecuteInput(IDocument, IExecutionContext) IEnumerable<IDocument>
Executes the module.
ExecuteInputAsync(IDocument, IExecutionContext) Task<IEnumerable<IDocument>>
Executes the module.
Finally(IExecutionContext) void
Called after each module execution, even if an exception is thrown during execution.
Inherited from Module
FinallyAsync(IExecutionContext) Task
Called after each module execution, even if an exception is thrown during execution.
Inherited from Module

Extension Methods