@schizanon you might want to use `Promise.allSettled` instead of `Promise.all` so that a single failed call doesn't abort all of them, but that aside, what about something like this if you don't like the direct indexing?

Object.fromEntries(await Promise.all(Object.entries(args).map(async ([key, arg]) => [key, await asyncFunction(arg)])))

of course could be simplified into smaller helper functions instead of a one liner though 😅

@schizanon yeah with allSettled you can still use the accounts that didn't error, and display some error or toast for the ones that did. if you use .all then its an all or nothing situation where if one account fails you get zero results. both are acceptable, as a user i would like if the accounts that still worked, still loaded though :)