MCPcopy
hub / github.com/rendrjs/rendr / next

Function next

shared/base/router.js:165–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 var self = this;
164 var myLoadNumber = ++loadNumber;
165 function next() {
166 // To prevent race conditions we ensure that no future requests have been processed in the mean time.
167 if (myLoadNumber === loadNumber) {
168 callback.apply(self, arguments);
169 }
170 }
171 // in AMD environment realAction is the string containing path to the controller
172 // which will be loaded async (might be preloaded)
173 // Only used in AMD environment

Callers 4

router.jsFile · 0.85
server.jsFile · 0.85
apiProxyFunction · 0.85
initApp.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected