maralorn opened a new issue, #9197:
URL: https://github.com/apache/pouchdb/issues/9197

   <!--
        Hello! 👋
        Thank you for opening an issue on PouchDB.
        There is also a 3-Minute read, on how to format your issue:
        https://guides.github.com/features/mastering-markdown/
        This template is optional, but it may help us fix your issue faster.
   -->
   ### Issue
   
   When subscribing to
   
   ```
   PouchDB.sync(…, { retry: true }).on('paused',myCallback)
   ```
   the callback will always receive `undefined`. As opposed to
   
   ```
   PouchDB.replicate(…, { retry: true }).on('paused',myCallback)
   ```
   where the callback while receive `undefined` when there is nothing else to 
sync, but an error object when there is e.g. a connection problem.
   
   ### Info
   - Environment: browser
   - Platform: Chrome
   - Adapter: indexeddb
   - Server: CouchDB
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to