Unsubscribe multiple nodes at once #1560
Unanswered
Ajinkya-Suranis
asked this question in
Q&A
Replies: 1 comment
-
Have a look at this method https://github.com/FreeOpcUa/opcua-asyncio/blob/3268568df3b2c314920d97bb059cc48b3a98d5a1/asyncua/common/subscription.py#L484C1-L488C87 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a program in which datachange subscriptions can be added/deleted on multiple nodes, as per request from user. However, when unsubscribing, the subscription handle is passed, which means that all the nodes which were subscribed, will be unsubscribed. There seems to be no way to selectively unsubscribe few nodes.
As a workaround, I'm creating a separate handle for datachange subscription for each node, so that if some nodes need to be unsubscribed, then I'll iteratively unsubscribe them using corresponding handles.
Is there any better way to achive this?
Beta Was this translation helpful? Give feedback.
All reactions