MCPcopy Create free account
hub / github.com/chain/Core / batchRequest

Function batchRequest

sdk/node/src/shared.js:90–95  ·  view source on GitHub ↗
(client, path, params, cb)

Source from the content-addressed store, hash-verified

88}
89
90const batchRequest = (client, path, params, cb) => {
91 return tryCallback(
92 client.request(path, params).then(resp => new BatchResponse(resp)),
93 cb
94 )
95}
96
97module.exports = {
98 batchRequest,

Callers 1

shared.jsFile · 0.85

Calls 2

tryCallbackFunction · 0.85
requestMethod · 0.45

Tested by

no test coverage detected