IThreadSafe Interface |
Namespace: Couchbase.Lite
public interface IThreadSafe
The IThreadSafe type exposes the following members.
| Name | Description | |
|---|---|---|
| ActionQueue |
Gets the queue that is used for scheduling operations on
the object. If operations are performed outside of this queue
for properties marked with FromQueueOnly
a ThreadSafetyViolationException will be thrown.
|
| Name | Description | |
|---|---|---|
| DoAsync(Action) |
Convenience method for asynchronously scheduling a job for this
object
| |
| DoAsyncT(FuncT) |
Convenience method for asynchronously scheduling a job for this
object
| |
| DoSync(Action) |
Convenience method for scheduling and waiting for a job
on this object's queue
| |
| DoSyncT(FuncT) |
Convenience method for scheduling a job on this object's queue,
waiting for it to finish and returning the result
|