unsubscribe

open override fun unsubscribe(observer: Observer, events: List<String>)

Unsubscribes an Observer from a provided list of event types.

Parameters

events

an array of event types to be unsubscribed from.

observer

an Observer

open override fun unsubscribe(observer: Observer)

Unsubscribes an Observer from all events.

Parameters

observer

an Observer