UNPKG

@joshfarrant/shortcuts-js

Version:
23 lines 530 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Wait * @section Actions > Scripting > Control Flow * @icon Scripting * * Waits for the specified number of seconds before continuing with the next action. * * ```js * wait({ * time: 19, * }); * ``` */ const wait = ({ time = 1, }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.delay', WFWorkflowActionParameters: { WFDelayTime: time, }, }); exports.default = wait; //# sourceMappingURL=wait.js.map