Top Fields Constructors Methods
org.reactfx

pack-priv Class SuspenderStreamImpl<T, S extends Suspendable>

extends SuspenderBase<Consumer<? super T>, T, S extends Suspendable>
implements SuspenderStream<T, S extends Suspendable>, ProperEventStream<T>
Class Inheritance
All Implemented Interfaces
org.reactfx.ProperEventStream, org.reactfx.ProperObservable, org.reactfx.Observable, org.reactfx.EventStream, org.reactfx.SuspenderStream, org.reactfx.Suspender
Imports
java.util.function.Consumer

Field Summary

Modifier and TypeField and Description
private final EventStream<T>

Constructor Summary

AccessConstructor and Description
public
SuspenderStreamImpl(EventStream<T> source, S suspendable)

Method Summary

Modifier and TypeMethod and Description
protected Subscription
observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Starts observing this observable's input(s), if any.

Inherited from org.reactfx.SuspenderBase:
getSuspendablenotifyObserversWhileSuspended

Field Detail

sourceback to summary
private final EventStream<T> source

Constructor Detail

SuspenderStreamImplback to summary
public SuspenderStreamImpl(EventStream<T> source, S suspendable)

Method Detail

observeInputsback to summary
protected Subscription observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Doc from org.reactfx.ObservableBase.observeInputs.

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 newObserver(Object) is called for the first observer.

Annotations
@Override