solana-web3.js icon indicating copy to clipboard operation
solana-web3.js copied to clipboard

[experimental] Suspend/restart transaction confirmation when network goes offline

Open steveluscher opened this issue 6 months ago • 0 comments

The job here is to augment every transaction confirmation algorithm in the new web3.js to detect offline events in browsers. This means to suspend transaction confirmation when the offline event fires on window and sensibly resume it when the online event fires.

More information on this browser API: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine

steveluscher avatar Jan 05 '24 03:01 steveluscher