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.

Extends

Methods

Name Description
constructor(): EventSubscription    

Properties

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

Inherited properties

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

Defined in

Last Updated: 12 June, 2024