node-pg-query-stream
node-pg-query-stream copied to clipboard
Do not emit 'close' event after you finished read rows
This fixes https://github.com/brianc/node-pg-query-stream/issues/52
The failing tests is exactly where is bug happen. Wrong 'close' event semantic.
bump
@mcollina done. But have a question: according to docs, close event is not required to be emitted. So now it is a bit unclear how this stream should handle it.
https://github.com/brianc/node-pg-query-stream/issues/52#issuecomment-561644112
note to myself: need to integrate #52 changes + more tests into the monorepo once the port is done (sometime next week)