UNPKG

cooperative

Version:

cooperative threading versions of map, filter, forEach, etc, suitable for big processing in single-threaded Node.js

6 lines (4 loc) 153 B
var map = require('./map') module.exports = function forEach(array, predicate, options) { return map(array, predicate, options).then(function() {}) }