$.couch.db.changes
$.couch.db.changes provides an API for subscribing to the changes
feed
var $changes = $.couch.db("mydatabase").changes();
$changes.onChange = function (data) {
... process data ...
}
$changes.stop();