-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Abort() function #3
Comments
@rmevans9 @ACCTFORGH can any of you make this PR to add this in? |
@ACCTFORGH I use it in React Native - it would be cool to have this abort() functionality when component unmounts! |
@niftylettuce Thanks! |
@niftylettuce seems like this landed in whatwg/fetch#523 |
@niftylettuce may you please share how you do the abort in react-native, I am trying to do the same in RN. |
@Noitidart I've never done it - I just meant I use Anyone here want to submit a PR that adds this functionality/method to Frisbee? https://developer.mozilla.org/en-US/docs/Web/API/AbortController |
I've released v2.0.10 to NPM with support for this! See #83 (comment) |
Is abort() or similar function available? Fetch is known to not have abort() in place. I am considering to use frisbee in React Native but am thinking to cancel the connections when component unmounts. Or, could it be that, for fetch-based libraries, it is not necessary to have abort() function in place?
The text was updated successfully, but these errors were encountered: