unsubscribe
Unsubscribes an `observer` from a provided array of event types.
Parameters
events
An array of event types to be unsubscribed from.
observer
An `observer` that will be unsubscribed from a given events.
Unsubscribes an `observer` from all events.
Parameters
observer
An `observer` that will be unsubscribed from all previously subscribed events.