Helper -- collect all values from a stream into an array. This will respect backpressure since we read one chunk at a time.
Helper -- collect all values from a stream into an array. This will respect backpressure since we read one chunk at a time.