import { race } from "https://deno.land/x/fun@v2.0.0/promise.ts";
An alias for Promise.race. Note that Promise.race leaks async operations in most runtimes. This means that the slower promise does not stop when the faster promise resolves/rejects. In effect Promise.race does not handle cancellation.
Type Parameters
T extends AnyPromise[]
Parameters
...ua: T