Interface SuspendableEventStream<T>
- All Superinterfaces:
EventStream<T>, Observable<Consumer<? super T>>, Suspendable
- All Known Implementing Classes:
AbstractReducibleEventStream, AccumulativeEventStream, ForgetfulEventStream, PausableEventStream, ReducibleEventStream, SuppressibleEventStream, SuspendableEventStreamBase
An event stream whose emission of events can be suspended temporarily. What
events, if any, are emitted when emission is resumed depends on the concrete
implementation.
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventStream<T> suspendedWhen(javafx.beans.value.ObservableValue<Boolean> condition) Returns an event stream that is suspended when the givenconditionistrueand emits normally whenconditionisfalse.Methods inherited from interface EventStream
accumulate, accumulate, accumulate, accumulateBetween, accumulateBetween, accumulateUntilLater, accumulateUntilLater, accumulateUntilLater, accumulateUntilLater, accumulateWhen, accumulateWhen, accumulative, accumulative, cast, conditionOn, conditionOnShowing, distinct, emitBothOnEach, emitOn, emitOnEach, feedTo, feedTo, filter, filter, filterMap, filterMap, flatMap, forgetful, fork, guardedBy, hook, latestN, map, mapToCompletionStage, mapToTask, onRecurseAccumulate, onRecurseAccumulate, onRecurseQueue, onRecurseReduce, onRecurseRetainLatest, or, pausable, pauseWhen, pin, queueBetween, queueUntilLater, queueUntilLater, reduceBetween, reduceSuccessions, reduceSuccessions, reduceSuccessions, reduceSuccessions, reduceSuccessions, reduceSuccessions, reduceUntilLater, reduceUntilLater, reduceWhen, reducible, repeatOn, retainLatestBetween, retainLatestUntilLater, retainLatestUntilLater, retainLatestWhen, splitBy, subscribe, subscribeFor, subscribeForOne, successionEnds, successionEnds, supply, supply, supplyCompletionStage, supplyTask, suppressible, suppressWhen, suspenderOf, thenAccumulateFor, thenAccumulateFor, thenAccumulateFor, thenAccumulateFor, thenIgnoreFor, thenIgnoreFor, thenReduceFor, thenReduceFor, thenRetainLatestFor, thenRetainLatestFor, threadBridge, threadBridgeFromFx, threadBridgeToFx, toBinding, withDefaultEventMethods inherited from interface Observable
addObserver, observe, removeObserverMethods inherited from interface Suspendable
suspend, suspendWhen, suspendWhile, suspendWhile
-
Method Details
-
suspendedWhen
Returns an event stream that is suspended when the givenconditionistrueand emits normally whenconditionisfalse.
-