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