public class Signal<T> extends AbstractSignal<T>
T
. Slot
s may be connected to a signal to be
notified upon event emission.Reactor.RListener
SignalView.Listener<T>
Constructor and Description |
---|
Signal() |
Modifier and Type | Method and Description |
---|---|
static <T> Signal<T> |
create()
Convenience method for creating a signal without repeating the type parameter.
|
void |
emit(T event)
Causes this signal to emit the supplied event to connected slots.
|
Slot<T> |
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.