I have a function that calls XHR requests in a loop. I would like to know if there is any other more efficient and ideal way to do this.
public async Task