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

Syntax

public Task<IPipelineOutputs> ExecuteAsync(string[] pipelines, in 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.
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.