Returns a collector that returns an array of all entries in the Iterable.
Type of items in the source.
Collector that returns an array of all entries in the Iterable.
const result = toArrayAsync()([1, 2, 3]);console.log(result); // [1, 2, 3] Copy
const result = toArrayAsync()([1, 2, 3]);console.log(result); // [1, 2, 3]
Returns a collector that returns an array of all entries in the Iterable.