const result = await Promise.allSettled(elements.map(async x => someAsyncFunction3(computeArg3(x))));