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

Function _times

public/javascripts/async.js:1124–1128  ·  view source on GitHub ↗
(mapper)

Source from the content-addressed store, hash-verified

1122 };
1123
1124 function _times(mapper) {
1125 return function (count, iterator, callback) {
1126 mapper(_range(count), iterator, callback);
1127 };
1128 }
1129
1130 async.times = _times(async.map);
1131 async.timesSeries = _times(async.mapSeries);

Callers 1

async.jsFile · 0.85

Calls 1

_rangeFunction · 0.85

Tested by

no test coverage detected