createWaitAction()
Home > @backstage/plugin-scaffolder-backend
> createWaitAction
Waits for a certain period of time.
Signature:
function createWaitAction(options?: {
maxWaitTime?: Duration | HumanDuration;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
minutes?: number | undefined;
seconds?: number | undefined;
milliseconds?: number | undefined;
}, {
[x: string]: any;
}, "v2">;
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ maxWaitTime?: Duration | HumanDuration; } |
(Optional) |
import("@backstage/plugin-scaffolder-node").TemplateAction<{ minutes?: number | undefined; seconds?: number | undefined; milliseconds?: number | undefined; }, { [x: string]: any; }, "v2">
Remarks
This task is useful to give some waiting time for manual intervention. Has to be used in a combination with other actions.