ParallelModule Class
A module that processes documents in parallel (with the option to process sequentially).
ParallelModule
Module
object
IModule
IParallelModule
RenderScriban
CopyMetadata
InsertLinks
EvaluateScript
ProcessHtml
GenerateExcerpt
RenderMarkdown
CompileSass
ParseJson
AddRtlSupport
MakeLinksRootRelative
ReadApi<TClient>
AddTitle
EscapeHtml
InsertHtml
TransformXslt
ProcessShortcodes
QueryHtml
MakeLinksAbsolute
RenderHandlebars

Syntax

public abstract class ParallelModule : 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.
ExecuteInputAsync(IDocument, IExecutionContext) Task<IEnumerable<IDocument>>
Executes the module.
Inherited from 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