T - type of values this EventSource accepts and emits.public class EventSource<T> extends EventStreamBase<T> implements EventSink<T>
| Constructor and Description |
|---|
EventSource() |
| Modifier and Type | Method and Description |
|---|---|
protected Subscription |
observeInputs()
Starts observing this observable's input(s), if any.
|
void |
push(T value)
Make this event stream immediately emit the given value.
|
addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, newObserver, notifyObservers, notifyObservers, observe, removeObserver, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitdefaultNotificationAccumulator, emitaccumulate, 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, withDefaultEventdefaultEquals, defaultHashCode, defaultToString, notifyObserversaddObserver, observe, removeObserverpublic final void push(T value)
protected final Subscription observeInputs()
ObservableBaseObservableBase.newObserver(Object)
is called for the first observer.observeInputs in class ObservableBase<java.util.function.Consumer<? super T>,T>