> On Sep 10, 2014, at 5:34 PM, Zack Gramana <[email protected]> wrote:
> 
> The people I've talked to want this as a boolean property on Document.

That's understandable, but as I've said, this doesn't make sense in the general 
case where there are multiple replications. Any actual API for this this will 
need to take both of the document and the replication as input.

> Perhaps just a simple sync event handler/callback, added to Document, the is 
> invoked when the item has been pushed.


It could be tricky to make use of that, though. By the time you get notified 
that one revision's been pushed, you might already have created another 
revision, which hasn't been pushed yet, so the actual state of the document 
will still be "unpushed".

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/74CE051E-EA7A-4853-8033-DDB1A6D97C61%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to