Removes the given listener that was previously added via on
or
one
. Note that the context must be the same as the context that
was passed to on
or one
.
Register the given listener with the event source. When the event occurs, the given listener is invoked. You can specify an optional context parameter to restrict the scope of the listener.
Uncaught errors in the listener are caught and logged, but not propagated. Note that registering the same listener with the same context twice has no effect.
Register the given listener with the event source. When the event occurs the next time, the given listener is invoked once, then removed. You can specify an optional context parameter to restrict the scope of the listener.
Uncaught errors in the listener are caught and logged, but not propagated. Note that registering the same listener with the same context twice has no effect.
Removes all event subscriptions for this event source.
Removes all event subscriptions with the given context, irrespective of the listener.
Removes all event subscriptions with the given listener, irrespective of the context.
Interfaces for event source objects. Interested parties can subscribe to the event and are notified when the event occurs.