Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
promise
Function · 0.85
Calls
2
run
Method · 0.80
next
Function · 0.70
Tested by
no test coverage detected