public class UnitSignal extends AbstractSignal<Void>
UnitSlot
like so:
UnitSignal signal = new UnitSignal();
signal.connect(new UnitSlot() {
public void onEmit () {
// ...
}
});
Reactor.RListener
SignalView.Listener<T>
Constructor and Description |
---|
UnitSignal() |
Modifier and Type | Method and Description |
---|---|
void |
emit()
Causes this signal to emit an event to its connected slots.
|
UnitSlot |
slot()
Returns a slot which can be used to wire this signal to the emissions of a
Signal or
another value. |
collect, connect, disconnect, filter, map, next
clearConnections, hasConnections
Copyright © 2017. All rights reserved.