did you try

```
batch_stream.on 'finish', () -> result = batch_stream._buffer
```