Posting it here too, as it is relevant:
You have two options:
Or:
This way you can bind the dispatcher call to another event elsewhere (outside the function) or even another function - super useful and it makes it neater, with fewer wires snaking around.
Important: you must ensure the signature on the event / function…
…is the same as on the Event Dispatcher:
Those two are not matching at all, for example! You can automate it by choosing a matching function / event from the list.