JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "async-iterable-to-array.ts"

Full Path: /home/markqprx/iniasli.pro/client/utils/array/async-iterable-to-array.ts
File size: 202 bytes
MIME-type: text/plain
Charset: utf-8

export async function asyncIterableToArray<T>(
  iterator: AsyncIterable<T>
): Promise<T[]> {
  const items: T[] = [];
  for await (const item of iterator) {
    items.push(item);
  }
  return items;
}