Batch and/or asynchronous requests

Let's imagine a situation when I want to send multiple (10 for example) External API requests and they aren't depend on each other. So instead of sending them one by one it would be better to send them simultaneously. For example, by creating an array of requests, and pushing it to the 'External batch requests' function or creating functions for processing successes and failures and passing that functions to each of requests and then sending them as array of requests. Anyway, it's important for modern applications to have this ability.
Delivered
5
3 replies