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

Context support #2

Open
vincent-tr opened this issue Oct 23, 2023 · 0 comments
Open

Context support #2

vincent-tr opened this issue Oct 23, 2023 · 0 comments

Comments

@vincent-tr
Copy link

Hi,

Thanks for this great work!

I would love to have an API compatible with Context for interruption, for example, we currently have:

func (c *Client) GetDevices() (*http.Response, error) {
  // ...
}

I would love to see also:

func (c *Client) GetDevicesWithContext(ctx context.Context) (*http.Response, error) {
  // ...
}

Do you think this would be a relevant improvement?

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

No branches or pull requests

1 participant