callback

The block of code that will be executed when an event of the specified eventType is handled.

This callback will receive the event data as a parameter.