Interface RealmResultTask
io.realm.mongodb
Implemented interfaces:
The RealmResultTask is a specific version of RealmAsyncTask that provides a mechanism to work with asynchronous operations carried out against MongoDB Realm that yield a result.
This class offers both blocking (get
) and non-blocking (getAsync
) method calls.
Method Summary
Modifier and Type | Method and Description |
---|---|
public T | get () Blocks the thread on which the call is made until the result of the operation arrives. |
public void | Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors. |
Inherited Methods
Method Detail
get
public T get () |
---|
Blocks the thread on which the call is made until the result of the operation arrives. Returns the result of the operation executed by this task. |
getAsync
Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors. Parameters
Throws
|