(Quick Reference)

11.2.2 Event Notification - Reference Documentation

Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith, Lari Hotari

Version: 3.1.10

11.2.2 Event Notification

The Events trait also provides methods for notifying of events. For example:

notify "myEvent", "myData"
sendAndReceive "myEvent", "myData", {
    println "Got response!"
}