Modifier and Type | Class and Description |
---|---|
class |
Slot<T>
Reacts to signal emissions.
|
class |
UnitSlot
A
Slot for use when the type of emitted signal is ignored. |
Modifier and Type | Method and Description |
---|---|
RFuture<T> |
RFuture.bindComplete(SignalView.Listener<Boolean> slot)
Convenience method to
ValueView.connectNotify(react.ValueView.Listener<? super T>) slot to RFuture.isComplete() . |
Connection |
SignalView.connect(SignalView.Listener<? super T> slot)
Connects this signal to the supplied slot, such that when an event is emitted from this
signal, the slot will be notified.
|
Connection |
AbstractSignal.connect(SignalView.Listener<? super T> slot) |
Connection |
AbstractValue.connect(SignalView.Listener<? super T> listener) |
Connection |
ValueView.connect(SignalView.Listener<? super T> listener)
Connects the supplied listener to this value, such that it will be notified when this value
changes.
|
Connection |
AbstractValue.connectNotify(SignalView.Listener<? super T> listener) |
Connection |
ValueView.connectNotify(SignalView.Listener<? super T> listener)
Connects the supplied listener to this value, such that it will be notified when this value
changes.
|
void |
SignalView.disconnect(SignalView.Listener<? super T> slot)
Disconnects the supplied slot from this signal if connect was called with it.
|
void |
AbstractSignal.disconnect(SignalView.Listener<? super T> slot) |
RFuture<T> |
RFuture.onComplete(SignalView.Listener<? super Try<T>> slot)
Causes
slot to be notified when this future is completed. |
RFuture<T> |
RFuture.onFailure(SignalView.Listener<? super Throwable> slot)
Causes
slot to be notified if/when this future is completed with failure. |
RFuture<T> |
RFuture.onSuccess(SignalView.Listener<? super T> slot)
Causes
slot to be notified if/when this future is completed with success. |
Copyright © 2017. All rights reserved.