mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-12 22:50:06 +00:00
feat(*): recreate package with new name
This commit is contained in:
5
src/utils/asyncForEach.ts
Normal file
5
src/utils/asyncForEach.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export async function asyncForEach(array: any[], callback: any) {
|
||||
for (let index = 0; index < array.length; index++) {
|
||||
await callback(array[index], index, array);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user