protected static class EventHub.SubscriptionImpl<E> extends java.lang.Object implements Subscription
| Constructor and Description | 
|---|
| SubscriptionImpl(EventHub publisher,
                java.lang.Class<E> eventClass,
                java.util.function.Consumer<E> listener) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | remove()Removes the associated listener from the event source. | 
public void remove()
Subscriptionremove in interface Subscription