You're collecting async iterable results with a for-await loop. `Array.fromAsync` does it in one call.

· Dev.to