If the Boolean property is added to the DocumentChange class, then that is 
already accounted for.

Sent from my iPhone

On Sep 10, 2014, at 6:04 PM, "Jens Alfke" 
<[email protected]<mailto:[email protected]>> wrote:


On Sep 10, 2014, at 5:34 PM, Zack Gramana 
<[email protected]<mailto:[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]<mailto:[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<https://groups.google.com/d/msgid/mobile-couchbase/74CE051E-EA7A-4853-8033-DDB1A6D97C61%40couchbase.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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/594F93F5-FD74-4545-B953-9B3B5BCDE95F%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to