MCPcopy
hub / github.com/jwagner/smartcrop.js / when

Function when

examples/q.js:867–869  ·  view source on GitHub ↗
(value, fulfilled, rejected, progressed)

Source from the content-addressed store, hash-verified

865 */
866Q.when = when;
867function when(value, fulfilled, rejected, progressed) {
868 return Q(value).then(fulfilled, rejected, progressed);
869}
870
871Promise.prototype.thenResolve = function (value) {
872 return this.then(function () { return value; });

Callers 3

continuerFunction · 0.85
allFunction · 0.85
allResolvedFunction · 0.85

Calls 1

QFunction · 0.85

Tested by

no test coverage detected