MCPcopy Index your code
hub / github.com/dresende/node-orm2 / promise

Function promise

lib/ChainInstance.js:16–26  ·  view source on GitHub ↗
(hwd, next)

Source from the content-addressed store, hash-verified

14 });
15 };
16 var promise = function(hwd, next) {
17 return function () {
18 if (!loading) {
19 load();
20 }
21
22 queue.push({ hwd: hwd, args: arguments });
23
24 return calls;
25 };
26 };
27 var next = function () {
28 if (queue.length === 0) return;
29

Callers 2

ChainInstanceFunction · 0.85
PromiseFunction · 0.85

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected