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

Function load

lib/ChainInstance.js:8–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 var queue = [];
7
8 var load = function () {
9 loading = true;
10 chain.run(function (err, items) {
11 instances = items;
12
13 return next();
14 });
15 };
16 var promise = function(hwd, next) {
17 return function () {
18 if (!loading) {

Callers 1

promiseFunction · 0.85

Calls 2

runMethod · 0.80
nextFunction · 0.70

Tested by

no test coverage detected