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
In our use case we are decrypting messages within the context of our MetaMask Snap. This process is quite time consuming (up to approx. 100 seconds). Our specific use case does not invoke calls to the network, however, the library used does invoke the eth_getLogs and eth_getChainId calls. In the case of their failure, the long running decryption process is interrupted.
Question
Short of changing the library code making the calls, is there a way to suspend or prevent such calls (or protect a longer running process within the context of the snap from being disrupted)?