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

Function when

SublimeJS/js/when.js:52–56  ·  view source on GitHub ↗

* Register an observer for a promise or immediate value. * * @param {*} promiseOrValue * @param {function?} [onFulfilled] callback to be called when promiseOrValue is * successfully fulfilled. If promiseOrValue is an immediate value, callback * will be invoked immediately. * @param

(promiseOrValue, onFulfilled, onRejected, onProgress)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

rejectFunction · 0.85
someFunction · 0.85
resolveSomeFunction · 0.85
_mapFunction · 0.85
resolveOneFunction · 0.85
reduceFunction · 0.85

Calls 1

castFunction · 0.85

Tested by

no test coverage detected