1 comment

[ 246 ms ] story [ 309 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.