Skip to content

Conversation

swekaj
Copy link

@swekaj swekaj commented Mar 24, 2014

As indicated in issues #2 and #3, streaming isn't supported. This fixes that by checking if a callback is passed or not. If one is, it behaves normally. If one is not, do not pass a callback to the inherited function and instead attach listeners to facilitate detecting slow queries and emitting query events.

…llback is called, this changes the behavior of query(). Instead, look for the events that are emitted when no callback is sent and do the normal stuff once the query is over.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant