IDistributedApplicationPipeline.addStep

Method
📦 Aspire.Hosting v17.0.0
interface IDistributedApplicationPipeline {
// ... omitted for brevity
addStep(stepName: string, callback: (arg: PipelineStepContext) => Promise<void>, dependsOn?: string[], requiredBy?: string[]): void;
}

Signature

methodaddStep
Adds an application-level pipeline step in a TypeScript-friendly shape.
addStep(stepName: string, callback: (arg: PipelineStepContext) => Promise<void>, dependsOn?: string[], requiredBy?: string[]): void
stepNamestringThe unique name of the pipeline step.
callback(arg: PipelineStepContext) => Promise<void>The callback to execute when the step runs.
dependsOnstring[]optionalOptional step names that this step depends on.
requiredBystring[]optionalOptional step names that require this step.

Defined on

This method is defined on the following type: