unsubscribe

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

Unsubscribes an Observer from a provided list of event types.

Parameters

observer

an Observer

events

an array of event types to be unsubscribed from.

open override fun unsubscribe(observer: Observer)

Unsubscribes an Observer from all events.

Parameters

observer

an Observer