unsubscribe

abstract fun <T : Any> EventReceiver.unsubscribe(clazz: KClass<T>)

Unsubscribe from events type of clazz


abstract fun EventReceiver.unsubscribe()

Unsubscribe from all events