Additional top-level class in compilation unit: AwaitLatest.
| Modifier and Type | Field and Description |
|---|---|
| private final BiConsumer | |
| private final SuspendableNo | |
| private final EventStream |
| Access | Constructor and Description |
|---|---|
| private | Await(EventStream<F> source, BiConsumer<F, TriConsumer<T, Throwable, Boolean>> addCompletionHandler)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T> void | addCompletionHandler(CompletionStage<T> future, TriConsumer<T, Throwable, Boolean> handler, Executor executor)
|
| pack-priv static <T> void | |
| public static <T> AwaitingEventStream | |
| public static <T> AwaitingEventStream | |
| public final boolean | |
| protected final Subscription | observeInputs()
Implements abstract org. Starts observing this observable's input(s), if any. |
| public final ObservableBooleanValue | pendingProperty()
Implements org. Indicates whether there is a pending event that will be emitted by this stream in the (near) future. |
| addCompletionHandler | back to summary |
|---|---|
| private final BiConsumer<F, TriConsumer<T, Throwable, Boolean>> addCompletionHandler | |
| pending | back to summary |
|---|---|
| private final SuspendableNo pending | |
| source | back to summary |
|---|---|
| private final EventStream<F> source | |
| Await | back to summary |
|---|---|
| private Await(EventStream<F> source, BiConsumer<F, TriConsumer<T, Throwable, Boolean>> addCompletionHandler) | |
| addCompletionHandler | back to summary |
|---|---|
| pack-priv static <T> void addCompletionHandler(CompletionStage<T> future, TriConsumer<T, Throwable, Boolean> handler, Executor executor) | |
| addCompletionHandler | back to summary |
|---|---|
| pack-priv static <T> void addCompletionHandler(Task<T> t, TriConsumer<T, Throwable, Boolean> handler) | |
| awaitCompletionStage | back to summary |
|---|---|
| public static <T> AwaitingEventStream | |
| awaitTask | back to summary |
|---|---|
| public static <T> AwaitingEventStream | |
| isPending | back to summary |
|---|---|
| public final boolean isPending() Implements org.
| |
| observeInputs | back to summary |
|---|---|
| protected final Subscription observeInputs() Implements abstract org. Doc from org. Starts observing this observable's input(s), if any.
This method is called when the number of observers goes from 0 to 1.
This method is called before
| |
| pendingProperty | back to summary |
|---|---|
| public final ObservableBooleanValue pendingProperty() Implements org. Doc from org. 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.
| |