1 comment

[ 5.0 ms ] story [ 14.0 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.