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

Passing AbortController to the methods #694

Open
sergeyzwezdin opened this issue May 19, 2024 · 1 comment
Open

Passing AbortController to the methods #694

sergeyzwezdin opened this issue May 19, 2024 · 1 comment

Comments

@sergeyzwezdin
Copy link

It would be great to have ability to pass AbortController/AbortSignal to the API methods, so method would stop fetching once abort happens.

@theoephraim
Copy link
Owner

I'm open to it, but it would probably take a fairly large refactoring and I'm not quite sure what the interface would be like for devs... Can you give some examples of how the DX would work?

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

2 participants