Constructor
new Condition()
Internal use only. Use Reader.createReadCondition() or Reader.createQueryCondition().
Methods
delete()
Releases DDS resources associated with the condition.
Once deleted, the condition can no longer be used.
Note that DDS resources and memory consumed by conditions cannot be automatically reclaimed by the NodeJS engine. Conditions are automatically deleted when the parent entity is deleted. Otherwise, when your application is finished with a Condition, you may call this method to release these DDS resources.
triggered() → {boolean}
Checks whether the condition is triggered or not.
Returns:
- Type
- boolean