Adds the given function as a listener to the event. Note that this cannot be a lambda function because there will be no way to remove a lambda function listener later.
Removes the given function as a listener to the event.
Determines whether this event slot has any listeners.
Defines event handler that is invoked when reference value changes.