Package ovh.mythmc.social.api.util
Interface Mutable.Subscription
public static sealed interface Mutable.Subscription
The
Subscription interface represents a way to unsubscribe from change notifications on a
Mutable object.
Implementations of this interface allow unsubscribing from the Mutable.onChange([email protected] BiConsumer<T,T>) notifications
once they are no longer needed.
-
Method Summary
-
Method Details
-
unsubscribe
void unsubscribe()Unsubscribes from the change notifications.
-