@groovy.transform.CompileStatic class ClosureEventTrigger
Triggers an event
Type | Name and description |
---|---|
Event<T> |
event |
groovy.lang.Closure |
reply |
groovy.lang.Closure |
subscriberClosure |
Constructor and description |
---|
ClosureEventTrigger
(Event<T> event, groovy.lang.Closure subscriber, groovy.lang.Closure reply = null) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Object |
callSpread(groovy.lang.Closure listener, java.lang.Object data) |
|
Subscriber |
getSubscriber() |
|
java.lang.Object |
proceed() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |