EventSubscription Class

Beta  

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

Properties

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: 13 June, 2024