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

[Feature Request] provide a way for users to cancel or close an existing Listener in Election api #1229

Open
exceptionplayer opened this issue Sep 19, 2023 · 2 comments

Comments

@exceptionplayer
Copy link

Is your feature request related to a problem? Please describe.
For Election api, provide a way to close an observed Listener.
For now, we can use the observe method in Election:

void observe(ByteSequence electionName, Listener listener);

to add a listener, but it does not provide a way for users to cancel or close the listener.

Describe the solution you'd like
Provide a way for users to close or cancel the listener.

@lburgazzoli
Copy link
Collaborator

@medusar any time to contribute a pr ?

@exceptionplayer
Copy link
Author

@medusar any time to contribute a pr ?

ok, I will do that when I am on vacation 3 weeks later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants