MCPcopy
hub / github.com/cujojs/when / resolve

Function resolve

when.js:141–141  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

139 var p = Promise._defer();
140
141 function resolve(x) { p._handler.resolve(x); }
142 function reject(x) { p._handler.reject(x); }
143 function notify(x) { p._handler.notify(x); }
144

Callers 6

nFunction · 0.70
_resolverFunction · 0.50
flow-test.jsFile · 0.50
settle-test.jsFile · 0.50
cycle-test.jsFile · 0.50
keys-test.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…