public class Signal<T> extends AbstractSignal<T>
T. Slots may be connected to a signal to be
notified upon event emission.Reactor.RListenerSignalView.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, nextclearConnections, hasConnectionsCopyright © 2017. All rights reserved.