How to put lock on subscription so that it will not execute until subscription completes work
Hi,
Actually, I have a use-case in which multiple tags are coming one after one from Azure IoT Hub in one JSON property which is overwriting every time with the property value and timestamp . The property name is populating in some other string property.
and my subscription is running on that JSON property.
I have to dynamically update all the properties as per JSON data arrives but sometimes what happens that the data of one property gets updated to some other property and hence it results in false data for all the properties.
As per my understanding, if somehow I can make this subscription like it will not execute next time until the current execution will not complete then maybe it can solve the issue of assigning false data to properties.
Can somebody help with this?
Thanks in advance.

