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.7
11.2.2 Event Notification
TheEvents
trait also provides methods for notifying of events. For example:notify "myEvent", "myData" sendAndReceive "myEvent", "myData", { println "Got response!" }