UNPKG

@joshfarrant/shortcuts-js

Version:
19 lines 622 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Wait to Return * @section Actions > Scripting > Control Flow * @icon Scripting * * Pauses execution until you leave the Shortcuts app and return to it. This action might be useful after an action that switches apps, to pause execution until you return to the Shortcuts app. * * ```js * waitToReturn(); * ``` */ const waitToReturn = () => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.waittoreturn', WFWorkflowActionParameters: {}, }); exports.default = waitToReturn; //# sourceMappingURL=waitToReturn.js.map