1 comment

[ 3.1 ms ] story [ 11.8 ms ] thread
Just decorate a function that you want to trigger on a particular event with @ghooks.events(*args) decorator, with args as the list of events that it should listen to.