Interface Subscription
@NonExtendable
public interface Subscription
A registered event listener.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Removes the listener; it receives no further events.
-
Method Details
-
cancel
void cancel()Removes the listener; it receives no further events. Calling it again has no effect.
-