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

Integration with AbortSignal #961

Open
bradjones1 opened this issue Jun 17, 2022 · 1 comment
Open

Integration with AbortSignal #961

bradjones1 opened this issue Jun 17, 2022 · 1 comment

Comments

@bradjones1
Copy link
Contributor

I'm integrating Orbit with a React Native app and I'd like to gracefully clean up outstanding network requests/async procedures in my useEffect() implementations.

As far as I can tell, Orbit doesn't have existing integration with, say, AbortController... I think that would also mean Orbit would have to cancel whatever active transform called fetch, and do whatever other cleanup is necessary.

@bradjones1
Copy link
Contributor Author

Issue archaeology: #635

The approach in the above PR seems to look like it's a global abort, vs. being able to cancel individual transforms? This is a bit afield of my JS skill at the moment but worth linking to prior art/conversation.

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