Skip to main content

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<HumanDuration, import("@backstage/types").JsonObject>;

Parameters

Parameter

Type

Description

options

{ maxWaitTime?: Duration | HumanDuration; }

(Optional)

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<HumanDuration, import("@backstage/types").JsonObject>

Remarks

This task is useful to give some waiting time for manual intervention. Has to be used in a combination with other actions.