mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
10 lines
334 B
JavaScript
10 lines
334 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
//TODO: Make generic
|
|
async function asyncForEach(array, callback) {
|
|
for (let index = 0; index < array.length; index++) {
|
|
await callback(array[index], index, array);
|
|
}
|
|
}
|
|
exports.asyncForEach = asyncForEach;
|
|
//# sourceMappingURL=Helpers.js.map
|