unsubscribe Static
Unregisters all static handlers declared for the given class.
Both @EventHandler and @ExceptionHandler methods that were previously registered via subscribeStatic are removed. If type was not registered, this operation has no effect.
Parameters
type
the class whose static handler methods should be unregistered.
Unregisters all static handlers declared for the given Kotlin class.
Convenience overload that forwards to unsubscribeStatic with KClass.java.
Parameters
type
the Kotlin class whose static handler methods should be unregistered.