addStep
Method
interface IDistributedApplicationPipeline { // ... omitted for brevity addStep( stepName: string, callback: callback, dependsOn?: string[], requiredBy?: string[]): void;}Signature
method
addStep Adds an application-level pipeline step in a TypeScript-friendly shape.
addStep(stepName: string, callback: (arg: PipelineStepContext) => Promise<void>, dependsOn?: string[], requiredBy?: string[]): voidParameters
stepName stringThe unique name of the pipeline step.callback(arg: PipelineStepContext) => Promise<void> The callback to execute when the step runs.dependsOn string[]optionalOptional step names that this step depends on.requiredBy string[]optionalOptional step names that require this step.Applies to
This method applies to the following types: