Registers a callback function to be executed when the specified event occurs.
The name of the event.
The callback function to be executed. It takes no parameters.
Generated using TypeDoc
Registers a callback function to be executed when the specified event occurs.