-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
hof/flow: can i cancel a running flow? #359
Comments
You could probably do these things if you write Go to run the hof/flow I don't think pausing is something that is easily done, you might have to add your own task type or annotation for that You should be able to cancel with a ctrl-c from the CLI |
Regarding getting a list, the SDK functions should allow for that, as the underlying cue/flow exposes the task list which has a state field You can probably get at them from: https://github.com/hofstadter-io/hof/blob/_dev/flow/context/context.go#L37 |
Some additional notes There are We are pretty close to being able to see the task list and states, including timing information, what we lack is a way to expose this to something like a GUI via an API. Something like OpenTelemetry might be a better option these days. One could add a middleware to send events off to any API |
Can i cancel a running flow, or pause it?
And, can i get a list, that contain all running flow?
The text was updated successfully, but these errors were encountered: