-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cancel method #26
Conversation
wdyt about offering the following 3 options for the cancel interface
|
I think cancelling all on |
|
what about the rest? |
got tunnel visioned with others make sense too, updated the pr. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
update client.cancel to cancel all workflows or cancel a set of workflows or based on a workflow url
There are multiple ways you can cancel workflows:
Cancel a set of workflow runs
Cancel workflows starting with a url
If you have an endpoint called
https://your-endpoint.com
and youwant to cancel all workflow runs on it, you can use
urlStartingWith
.Note that this will cancel workflows in all endpoints under
https://your-endpoint.com
.Cancel all workflows
If you want to cancel all workflows under your user, you can
do it like this: