MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / fn

Function fn

public/javascripts/async.js:744–749  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

742 async.iterator = function (tasks) {
743 function makeCallback(index) {
744 function fn() {
745 if (tasks.length) {
746 tasks[index].apply(null, arguments);
747 }
748 return fn.next();
749 }
750 fn.next = function () {
751 return (index < tasks.length - 1) ? makeCallback(index + 1): null;
752 };

Callers 11

sylvester.jsFile · 0.70
doParallelFunction · 0.70
doParallelLimitFunction · 0.70
doSeriesFunction · 0.70
taskCompleteFunction · 0.70
_concatFunction · 0.70
sylvester.jsFile · 0.50
jquery.jsFile · 0.50
assertFunction · 0.50
createPositionalPseudoFunction · 0.50
rivets.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected