Abort controller usage example #1842
Unanswered
tcvetkoska
asked this question in
Q&A
Replies: 2 comments 5 replies
-
@tcvetkoska I'm afraid your question really isn't clear. What are you trying to do? Can you show some code? |
Beta Was this translation helpful? Give feedback.
1 reply
-
// on top of file
let lastThunk = undefined
// to trigger in your event handler
if (lastThunk) lastThunk.cancel()
lastThunk = dispatch(myThunk())
lastThunk.then(() => { lastThunk = undefined }) something like this? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to use the abort controller and upgrade the fetch holder with it, I am trying to follow the doc but I could not find a way how to resolve it. Does someone has any suggestion or idea? @markerikson @phryneas
Beta Was this translation helpful? Give feedback.
All reactions