T- the result type delivered by this task.
public interface RealmResultTask<T> extends RealmAsyncTask
RealmAsyncTaskthat 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.
|Modifier and Type||Method and Description|
Blocks the thread on which the call is made until the result of the operation arrives.
Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors.
void getAsync(App.Callback<T> callback)