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

Function iterator

lib/ORM.js:44–50  ·  view source on GitHub ↗
(filePath, cb)

Source from the content-addressed store, hash-verified

42var fileLoader = function (filePaths, cb) {
43 var self = this;
44 var iterator = function (filePath, cb) {
45 try {
46 require(filePath)(self, cb);
47 } catch (err) {
48 return cb(err)
49 }
50 };
51
52 async.eachSeries(filePaths, iterator, cb);
53};

Callers

nothing calls this directly

Calls 1

cbFunction · 0.85

Tested by

no test coverage detected