On Feb 19, 2014, at 6:26 PM, Traun Leyden 
<[email protected]<mailto:[email protected]>> wrote:

>From what I can tell, in the iOS version it doesn't have this issue.  Instead:
* Rapid fire calls to LiveQuery.databaseChanged will result in multiple queries 
getting queued up, and they will fire asynchronously

Depends on how rapid-fire. If -databaseChanged is called multiple times in one 
runloop iteration, only one async query will be triggered. (The _willUpdate 
flag is a guard for that.)
However, if -databaseChanged gets called on multiple runloop iterations in 
succession, then each of those will start an async query.

* Calling LiveQuery.stop() will call cancelPreviousPerformRequestsWithTarget, 
and cancel all of them in one fell swoop.

No, it only cancels the pending call to -update, of which there'll only be one.

--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/F09E7350-E0E9-4F40-AE06-2D2E92698DD3%40couchbase.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to