All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hstream.Observer Maven / Gradle / Ivy

package io.hstream;

/** An object used to receive results of a {@link Queryer}. */
public interface Observer {

  /**
   * Receives a value.
   *
   * @param value the value received
   */
  void onNext(V value);

  /**
   * Receives a terminating error.
   *
   * @param t the error occurred
   */
  void onError(Throwable t);

  /** Receives a notification of successful completion. */
  void onCompleted();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy