MCPcopy Create free account
hub / github.com/ccxt/ccxt / sequentialMap

Function sequentialMap

run-tests.js:250–255  ·  view source on GitHub ↗
(input, fn)

Source from the content-addressed store, hash-verified

248// Tests of different languages for the same exchange should be run sequentially to prevent the interleaving nonces problem. //
249
250const sequentialMap = async (input, fn) => {
251
252 const result = []
253 for (const item of input) { result.push (await fn (item)) }
254 return result
255}
256
257// const getJavaArgs = (args) => {
258// let res = "--args=\"";

Callers 1

testExchangeFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…