EventSubscription Class


Subscription to receive IModelHubEvents. Each subscription has a separate queue for events that it hasn't read yet. Subscriptions are deleted, if they are inactive for an hour. Use wsgId of this instance for the methods that require subscriptionId. See EventSubscriptionHandler.



Name Type Description
eventTypes undefined | EventType[] Types of the IModelHubEvents that this subscription listens to.  

Inherited properties

Name Type Inherited from Description
changeState undefined | ChangeState WsgInstance  
ecId string ECInstance  
eTag undefined | string WsgInstance  
wsgId string WsgInstance  

Defined in

Last Updated: 08 January, 2020