notify "myEvent", "myData"
sendAndReceive "myEvent", "myData", {
    println "Got response!"
}11.3.2 Event Notification
Version: 3.2.0
11.3.2 Event Notification
The Events trait also provides methods for notifying of events. For example:
| 
                
                    
                
                (Quick Reference)
                
                    
                
                 11.3.2 Event NotificationVersion: 3.2.0 11.3.2 Event NotificationThe   | Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |