You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
293 B

4 years ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = doLimit;
  6. function doLimit(fn, limit) {
  7. return function (iterable, iteratee, callback) {
  8. return fn(iterable, limit, iteratee, callback);
  9. };
  10. }
  11. module.exports = exports["default"];