Type representing a function that produces events.
The name of the event.
The data associated with the event.
The result of the event production.
Type representing a function that produces events.