I have an Set array which contains multiple Ids.I would like to loop through the Set and make the api calls in parallel for each id and get back the user object, add it to a map.How can i achieve it.
The value is Set userIds :Set[2] 0:"1" 1:"2"
data() {
return {
userIds: new Set(),
};
},
const res = getUsers(userId)