Represents a subscription to an event
Type Params | Return Type | Name and description |
---|---|---|
|
EventTrigger |
buildTrigger(Event event) @return Builds a trigger |
|
EventTrigger |
buildTrigger(Event event, groovy.lang.Closure reply) @return Builds a trigger |
|
Subscription |
cancel() @return Cancel the registration |
|
boolean |
isCancelled() @return Whether it is cancelled |