EventListener type

Defines a typed callback function used by multicast events.

type EventListener<TArgs> = (args: TArgs) => void