Interface RealmEventStreamTask
Atlas Device SDKs are deprecated. Refer to the deprecation page for details.
io.realm.mongodb
Implemented interfaces:
The RealmEventStreamTask is a specific version of RealmAsyncTask that provides a blocking mechanism to work with asynchronous operations carried out against MongoDB Realm that yield stream results.
Method Summary
Modifier and Type | Method and Description |
---|---|
public BaseChangeEvent | getNext () Blocks the thread on which the call is made until the result of the operation arrives. |
public boolean | isOpen () Whether or not the stream is currently open. |
Inherited Methods
Method Detail
getNext
public BaseChangeEvent getNext () |
---|
Blocks the thread on which the call is made until the result of the operation arrives. Returns the next event in the stream. Throws
|
isOpen
public boolean isOpen () |
---|
Whether or not the stream is currently open. Returns true if open, false if not. |