1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-10 14:00:05 +00:00

chore(*): add comments

This commit is contained in:
Krishna Acondy
2021-04-07 10:57:55 +01:00
parent 2e85cbab2f
commit 205bd0c8bc
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
/**
* Executes an async callback for each item in the given array.
*/
export async function asyncForEach(
array: any[],
callback: (item: any, index: number, originalArray: any[]) => any