Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the new on_cancel callback to ReliableMessageListener [API-2195] #655

Merged
merged 5 commits into from
Jan 4, 2024

Conversation

ihsandemir
Copy link
Contributor

Added the new on_cancel callback which is called when the ReliableMessageListener is cancelled for any reason.

Added the documentation, tests and code sample update.

@ihsandemir ihsandemir added this to the 5.4.0 milestone Jan 2, 2024
@ihsandemir ihsandemir self-assigned this Jan 2, 2024
def on_cancel(self):
print("Listener function on_cancel is called")

Durable Subscription
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, I think it might make sense to move these detailed information to the ReliableMessageListener's documentation (docstring comment) and give a link to it here.

@ihsandemir ihsandemir merged commit 6176bbc into hazelcast:master Jan 4, 2024
9 checks passed
@ihsandemir ihsandemir deleted the onCancel branch January 4, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants