MCPcopy Create free account
hub / github.com/75team/SublimeJS / _map

Function _map

SublimeJS/js/when.js:680–718  ·  view source on GitHub ↗

* Internal map that allows a fallback to handle rejections * @param {Array|Promise} array array of anything, may contain promises and values * @param {function} mapFunc map function which may return a promise or value * @param {function?} fallback function to handle rejected promises * @retu

(array, mapFunc, fallback)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

allFunction · 0.85
joinFunction · 0.85
settleFunction · 0.85
mapFunction · 0.85

Calls 2

whenFunction · 0.85
_promiseFunction · 0.85

Tested by

no test coverage detected