You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/12/20 07:52:02 UTC

[GitHub] [couchdb-nano] Delink-D opened a new issue, #315: `changesReader.get` doesn't call the 'end' callback

Delink-D opened a new issue, #315:
URL: https://github.com/apache/couchdb-nano/issues/315

   <!--- Provide a general summary of the issue in the Title above -->
   
   ## Expected Behavior
   <!--- If you're describing a bug, tell us what should happen -->
   On call of `changesReader.get` it's expected that the request should pull changes till the last change then `on('end'` should be called
   <!--- If you're suggesting a change/improvement, tell us how it should work -->
   
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected behavior -->
   Currently on call of `changesReader.get({ includeDocs: true, since: changesSince, batchSize: 500 })`  the changes are pulled but `on('end', () => {...})` never gets called. So I can't tell when all the changes have been pulled. 
   <!--- If suggesting a change/improvement, explain the difference from current behavior -->
   
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced the bug in -->
   * Version used: 10.1.0
   * Browser Name and version: N/A
   * Running in node app: 16.17.0
   * Operating System and version (desktop or mobile):
   * Link to your project:
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org