Open tomvlk opened 8 years ago
You are correct, it does not, but I don't see any reason for them unless you want to do atomic operations with multiple methods. Can you give an example case for this?
See some code from here: https://github.com/ManiaJS/ManiaJS/blob/master/src/server/client.js#L136 Can be really easy done with mutlicall, (or with simulating multicall maybe, just executing in series and return back).
In that case you can use Promise.all
.
multicall isn't more efficient for network? well, for the performance (and hangs) you don't have to do in JS.
Would be great to have some kind of multicall support. Currently it doesn't right?