Array.prototype.map, but with async callbacks
const asyncMap = require('alegrify-async-map');
const items = [1, 2, 3];
const filteredItems = asyncMap(items, async (element, index, array) => {
return await someAsyncMethod(element);
});| Name | Name | Last commit date | ||
|---|---|---|---|---|