Docs Menu

Docs HomeDevelop ApplicationsAtlas Device SDKs

Interface RealmResultTask

On this page

  • io.realm.mongodb
  • Method Summary
  • Inherited Methods
  • Method Detail
  • get
  • getAsync

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.

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.

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.

Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors.

Parameters

Throws

← Interface RealmEventStreamTask