pouchdb/pouchdb — pull request #2296 by nolanlawson (2014-05-26 16:51:17+00:00)
Title: (pouchdb/express-pouchdb#43) - add replication id event

This PR along with https://github.com/pouchdb/express-pouchdb/pull/44 fixes pouchdb/express-pouchdb#43. This combined with my other PRs (including one on levelup), gives us fully passing tests against pouchdb-server in both Node and Chrome.

Basically all we need is an event to tell us when the replication id has been generated. That way, we can stash it for later, so that the user can cancel based off of that id.