Class: EventSubscription

EventSubscription(unsubscribe, eventEmitted, subscription)

A subscription to events that occur in the system.

Constructor

new EventSubscription(unsubscribe, eventEmitted, subscription)

Parameters:
Name Type Description
unsubscribe function the callbacks that allows to cancel the subscription
eventEmitted Observable the observable for the emitted events
subscription SubscriptionObject the wrapped subscription object
Source:

Methods

toObject() → {EventSubscriptionObject}

Source:
Returns:
a plain object with observables and unsubscribe method
Type
EventSubscriptionObject