Add ability to add message for participation and improve participation
management interface Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
7
js/src/utils/asyncForEach.ts
Normal file
7
js/src/utils/asyncForEach.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
async function asyncForEach(array, callback) {
|
||||
for (let index = 0; index < array.length; index += 1) {
|
||||
await callback(array[index], index, array);
|
||||
}
|
||||
}
|
||||
|
||||
export { asyncForEach };
|
||||
Reference in New Issue
Block a user