Docs Menu

Interface RealmEventStreamAsyncTask

On this page

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

Implemented interfaces:

The RealmEventStreamAsyncTask is a specific version of RealmAsyncTask that provides a non-blocking mechanism to work with asynchronous operations carried out against MongoDB Realm that yield stream results.

Modifier and Type
Method and Description
public void

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

public boolean

Whether or not the stream is currently open.

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

Parameters

  • callback - the App.Callback designed to receive event results.

Throws

  • IllegalStateException - if the stream is already open.
public boolean isOpen ()

Whether or not the stream is currently open.

Returns

true if open, false if not.

←  Class ErrorCode.TypeInterface RealmEventStreamTask →
Give Feedback
© 2022 MongoDB, Inc.

About

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