Class: EntitySubscription

EntitySubscription(unsubscribe, observables, subscription)

A subscription to entity changes on application backend.

Constructor

new EntitySubscription(unsubscribe, observables, subscription)

Parameters:
Name Type Description
unsubscribe function the callback that allows to cancel the subscription
observables Object the observables for entity change
subscription SubscriptionObject the wrapped subscription object
Source:

Methods

toObject() → {EntitySubscriptionObject}

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