@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
23 lines • 530 B
JavaScript
;
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