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