GitHub user chrisdutz added a comment to the discussion: Refactor the Subscription API?
So one idea would have been to extend the CopmpletableFuture with the callback registration and cancel functions, but that sort of feels ugly. Another one would be, that the PlcSubscriptionResponse, doesn't return a "handle", but a "handler" ... on this handler we could directly register callbacks and end the subscription. GitHub link: https://github.com/apache/plc4x/discussions/1037#discussioncomment-6525037 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
