allSettled() returns an array of objects for each promise result that tells you if it has been rejected or resolved, so as long as all the promises reject or resolve then it should solve the problem I think?
const result = await Promise.allSettled(elements.map(async x => someAsyncFunction3(computeArg3(x))));