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
// PROXY: Run in batch mode (everything in one JSON RPC Request)constbatch=client.newProxyBatch();constpromises=[batch.hello('John Doe');batch.hello('John Doe');];batch.runBatch();// promises will never be resolved if you will not run batch constresults=awaitPromise.all(promises);// NOT PROXY: Run in batch mode (everything in one JSON RPC Request)constbatch=client.newBatch();constpromises=[batch.callMethod('hello',['John Doe']);batch.notify('hello',['John Doe']);];batch.runBatch();// promises will never be resolved if you will not run batch constresults=awaitPromise.all(promises);