Is it possible to break away from await Promise.all when any promise has fulfilled (Chrome 80)
问题 I need to send a request to multi-servers to see which server will response to my request and if any of them response, I will then further interact with this server. The simplest way is to send my request in sequence, something like this async function probing(servers) { for (const server of servers) { const result = await fetch(server) if (result.status == 200) { return result } } } But I hope to speed up the probing process so I change my code to async function probing(servers) { results =