Skip to content
DocsTry Aspire
DocsTry

addStep

Method
📦 Aspire.Hosting v13.4.0
interface IDistributedApplicationPipeline {
// ... omitted for brevity
addStep(
stepName: string,
callback: callback,
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
stepNamestring
callback(arg: PipelineStepContext) => Promise<void>
dependsOnstring[]optional
requiredBystring[]optional

Applies to

This method applies to the following types: