Skip to content
This repository has been 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
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

btd
Copy link

@btd btd commented Mar 4, 2019

This fixes #52

@btd
Copy link
Author

btd commented Mar 4, 2019

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

@eljefedelrodeodeljefe
Copy link

bump

index.js Outdated Show resolved Hide resolved
test/close.js Outdated Show resolved Hide resolved
@btd
Copy link
Author

btd commented May 10, 2019

@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

#52 (comment)

@brianc
Copy link
Owner

brianc commented Dec 20, 2019

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