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