onEvent abstract method
- IContext? context,
- IEvent event,
- Parameters args
A method called when events this listener is subscrubed to are fired.
event
a fired evemtcontext
(optional) a context to trace execution through call chain.args
event arguments.
Implementation
void onEvent(IContext? context, IEvent event, Parameters args);