ExecuteAsync(string[], bool, CancellationToken) Method
Executes the specified pipelines and pipelines with Always policies.
Namespace
Statiq.Core
Containing Type
Engine

Syntax

public Task<IPipelineOutputs> ExecuteAsync(string[] pipelines, bool normalPipelines, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
pipelines string[] The pipelines to execute or null/empty to only execute pipelines with the Always policy.
normalPipelines bool true to run pipelines with the Normal policy in addition to the pipelines specified or false to only run the specified pipelines.
cancellationToken CancellationToken A cancellation token that can be used to cancel the execution.

Return Value

Type Description
Task<IPipelineOutputs> The output documents from each executed pipeline.