Package org.reactfx

Interface AwaitingEventStream<T>

All Superinterfaces:
EventStream<T>, Observable<Consumer<? super T>>
All Known Implementing Classes:
Await, AwaitLatest, SuccessionReducingStream, ThenAccumulateForStream

public interface AwaitingEventStream<T> extends EventStream<T>
An event stream that indicates whether there is a pending event that can be expected to be emitted in the future.

A stream may indicate a pending event while it is awaiting a timer or completion of an asynchronous task.

  • Property Details

    • pending

      javafx.beans.value.ObservableBooleanValue pendingProperty
      Indicates whether there is a pending event that will be emitted by this stream in the (near) future. This may mean that an event has occurred that causes this stream to emit an event with some delay, e.g. waiting for a timer or completion of an asynchronous task.
      See Also:
  • Method Details

    • pendingProperty

      javafx.beans.value.ObservableBooleanValue pendingProperty()
      Indicates whether there is a pending event that will be emitted by this stream in the (near) future. This may mean that an event has occurred that causes this stream to emit an event with some delay, e.g. waiting for a timer or completion of an asynchronous task.
      Returns:
      the pending property
    • isPending

      boolean isPending()