Skip to content
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

Add a way to programmatically cancel runs when using the runner lib #223

Closed
codyl-stripe opened this issue Sep 15, 2020 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@codyl-stripe
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I have a use case where I would like to run load indefinitely for most of the time, but occasionally want to programmatically cancel load runs.

This is currently not possible as https://pkg.go.dev/github.com/bojand/[email protected]/runner#Run blocks and there is no public access to configure a https://pkg.go.dev/github.com/bojand/[email protected]/runner#Requester which has the ability to stop a run.

Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to make newRequester to be public which would allow access to canceling runs.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I do not believe there are any alternatives with the current public API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants