Package org.reactfx
Interface SuspendableEventStream<T>
-
- All Superinterfaces:
EventStream<T>
,Observable<java.util.function.Consumer<? super T>>
,Suspendable
- All Known Implementing Classes:
AbstractReducibleEventStream
,AccumulativeEventStream
,ForgetfulEventStream
,PausableEventStream
,ReducibleEventStream
,SuppressibleEventStream
,SuspendableEventStreamBase
public interface SuspendableEventStream<T> extends EventStream<T>, Suspendable
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default EventStream<T>
suspendedWhen(javafx.beans.value.ObservableValue<java.lang.Boolean> condition)
Returns an event stream that is suspended when the givencondition
istrue
and emits normally whencondition
isfalse
.-
Methods inherited from interface org.reactfx.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, withDefaultEvent
-
Methods inherited from interface org.reactfx.Observable
addObserver, observe, removeObserver
-
Methods inherited from interface org.reactfx.Suspendable
suspend, suspendWhen, suspendWhile, suspendWhile
-
-
-
-
Method Detail
-
suspendedWhen
default EventStream<T> suspendedWhen(javafx.beans.value.ObservableValue<java.lang.Boolean> condition)
Returns an event stream that is suspended when the givencondition
istrue
and emits normally whencondition
isfalse
.
-
-