setEventSubscribeHandler abstract method
Assigns a handler
function to an event with a given name
.
If the event is subscribed to, the handler
function will be called
to handle the interaction.
Implementation
void setEventSubscribeHandler(String name, EventSubscriptionHandler handler);