There is an array of objects. Each of the objects must be supplemented with attributes obtained from the asynchronous function (HTTP request). If any of the requests gave an error, you can repeat it, but no more than once. How is this done in async.js?
Before:
[{ url: example.com/123, param1: 123, param2: 456 }]
After:
[{ url: example.com/123, param1: 123, param2: 456, additional_data: <html>...</html> }]