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

No way to "stop" an individual subscription on a websocket #1392

Open
awrichar opened this issue Aug 24, 2023 · 1 comment
Open

No way to "stop" an individual subscription on a websocket #1392

awrichar opened this issue Aug 24, 2023 · 1 comment

Comments

@awrichar
Copy link
Contributor

The subscription model of FireFly allows you to open a single websocket and then start multiple subscriptions to receive all of their events over that socket.

Currently there is no corresponding "stop" command. The only way to stop receiving events is to close the entire websocket.

It would be convenient to be able to "stop" an individual subscription while leaving the websocket up.

@Philip-21
Copy link
Contributor

@awrichar would creating a separate function here to stop receiving events/subscription while an individual websocket connection is still open ?

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

No branches or pull requests

2 participants