I'm trying to set up a CBL-backed store so that callers don't need to know 
what thread they're accessing CBL on. I have a few points of confusion. 
(This is on iOS.)

1. The docs seem to indicate that dispatchQueue is no longer available as a 
property on CBLManager (1.2). I'm on 1.1 and dispatchQueue seems to solve 
my problem quite nicely, so I'm hoping this is a documentation bug (?). 
http://developer.couchbase.com/documentation/mobile/current/develop/references/couchbase-lite/couchbase-lite/manager/manager/index.html

2. When I set [CBLManager sharedInstance].dispatchQueue equal to a serial 
dispatch queue that I create, I seem to be able to then call CBL from any 
queue I want (including syncronously on main queue, and asynchronously on 
global queues as well as the serial queue itself). Is this correct or will 
this bite me later?

It's especially nice to be able to call it on global queues where one can 
set a priority.

-- 
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/2c81d482-b764-4cc3-85a9-a68e30f83102%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to