-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
web3.js: Make confirmTransaction
cancellable
#25304
Labels
Milestone
Comments
cc/ @lorisleiva for interest's sake. |
steveluscher
modified the milestones:
web3.js Roadmap – June 2022,
web3.js Roadmap – July 2022
Jun 30, 2022
steveluscher
modified the milestones:
web3.js Roadmap – July 2022,
web3.js Roadmap – August 2022
Aug 1, 2022
steveluscher
modified the milestones:
web3.js Roadmap – August 2022,
web3.js Roadmap – September 2022
Sep 1, 2022
steveluscher
modified the milestones:
web3.js Roadmap – September 2022,
web3.js Roadmap – October 2022
Oct 3, 2022
steveluscher
modified the milestones:
web3.js Roadmap – October 2022,
web3.js Roadmap – November 2022
Nov 10, 2022
steveluscher
modified the milestones:
web3.js Roadmap – November 2022,
web3.js Roadmap – December 2022
Dec 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Problem
We're about to add a really long running confirmation strategy for transactions in #25303. It's possible for those never to expire and also never be confirmed.
You could conceive of an app that subscribes to this confirmation, but then stops caring if the user navigates away or otherwise becomes disinterested in the status of that transaction. We need to offer a way to signal to
confirmTransaction
to stop working.Proposed Solution
confirmTransaction
take anAbortController
as an argumentabort
signal is triggered on it.The text was updated successfully, but these errors were encountered: