You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Make confirmTransaction take an AbortController as an argument
Stop work in that function when the abort signal is triggered on it.
The text was updated successfully, but these errors were encountered:
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: