UNPKG

vue-mobx-finegrained

Version:

Vue 3 composable for a complete MobX state management integration.

10 lines (9 loc) 223 B
export class Helpers { static asyncForEach = async (array, callback) => { if (array) { for (let index = 0; index < array.length; index++) { await callback(array[index], index, array) } } } }