Top Methods
org.reactfx

public Interface EventSink<T>

Known Direct Subinterfaces
org.reactfx.ConnectableEventSink
Known Direct Implementers
org.reactfx.EventSource

Method Summary

Modifier and TypeMethod and Description
public default Subscription

Returns:

subscription that can be used to stop delivering source's events to this event sink.
feedFrom
(EventStream<? extends T>
event stream whose events will be pushed to this event sink
source
)

Starts pushing all events emitted by source to this event sink.

public void
push(T value)

Method Detail

feedFromback to summary
public default Subscription feedFrom(EventStream<? extends T> source)

Starts pushing all events emitted by source to this event sink.

An event sink can be fed from multiple sources at the same time.

sink.feedFrom(stream) is equivalent to stream.feedTo(sink)

Parameters
source:EventStream<? extends T>

event stream whose events will be pushed to this event sink

Returns:Subscription

subscription that can be used to stop delivering source's events to this event sink.

See Also
EventStream#feedTo(EventSink)
pushback to summary
public void push(T value)