Skip to content
This repository was archived by the owner on Dec 27, 2019. It is now read-only.

Do not emit 'close' event after you finished read rows#53

Open
btd wants to merge 1 commit into
brianc:masterfrom
btd:master
Open

Do not emit 'close' event after you finished read rows#53
btd wants to merge 1 commit into
brianc:masterfrom
btd:master

Conversation

@btd

@btd btd commented Mar 4, 2019

Copy link
Copy Markdown

This fixes #52

@btd

btd commented Mar 4, 2019

Copy link
Copy Markdown
Author

The failing tests is exactly where is bug happen. Wrong 'close' event semantic.

@eljefedelrodeodeljefe

Copy link
Copy Markdown

bump

Comment thread index.js Outdated
Comment thread test/close.js
@btd

btd commented May 10, 2019

Copy link
Copy Markdown
Author

@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.

@matthieusieben

Copy link
Copy Markdown

#52 (comment)

@brianc

brianc commented Dec 20, 2019

Copy link
Copy Markdown
Owner

note to myself: need to integrate #52 changes + more tests into the monorepo once the port is done (sometime next week)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not emit 'close' event after finish with query

5 participants