-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
enhancementNew feature or requestNew feature or requesttracked internallyIssue is also tracked in our internal issue trackerIssue is also tracked in our internal issue trackertriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Description
See this comment for details.
What I would like to achieve, if possible of course, would be a suspension which allows to be resumed within the calling component. Maybe a win-win solution, from a user experience standpoint, could invoke a new resume() function within the calling component itself, like the following:
export default {
async run({ $ }) {
const { cancel_url, resume_url } = $.flow.suspend();
// ...
},
async resume({ resumeData }) {
// ...
}
}Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttracked internallyIssue is also tracked in our internal issue trackerIssue is also tracked in our internal issue trackertriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee