Hacker News new | ask | show | jobs
by vore 1233 days ago
JavaScript has Promise.race, which is effectively the same thing (from a set of Promises, return as soon as the first one resolves).