/** * Like `Promise.race`, but works with async iterables as well. * * If a sync iterable is provided, `Promise.race` will be used under the hood. */ export default function promiseRace(iterable: Iterable> | AsyncIterable>): Promise;