Represents a function that adds a callback to an event hook.
The type of the parameter that the callback will receive.
The callback to be added.
An object with a method to remove the callback.
Removes the callback.
Represents a function that adds a callback to an event hook.