Docs Menu

Interface RealmEventStreamTask

On this page

  • io.realm.mongodb
  • Method Summary
  • Inherited Methods
  • Method Detail
  • getNext
  • isOpen

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.

Modifier and Type
Method and Description

Blocks the thread on which the call is made until the result of the operation arrives.

public boolean

Whether or not the stream is currently open.

Blocks the thread on which the call is made until the result of the operation arrives.

Returns

the next event in the stream.

Throws

  • AppException - if the server raises an error
  • IOException - if something is wrong with the input stream
public boolean isOpen ()

Whether or not the stream is currently open.

Returns

true if open, false if not.

←  Interface RealmEventStreamAsyncTaskInterface RealmResultTask →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.