unsubscribe

open fun unsubscribe(consumer: Consumer<out Event>)(source)

Unsubscribe a listener from the event bus.

Parameters

consumer

The Consumer to unsubscribe.


open fun unsubscribe(obj: Any)(source)

Unsubscribe an object from the event bus, which unsubscribes all of its listeners.

Parameters

obj

The object to unsubscribe.