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

reject subscription if already initialised #260

Open
RichardWright opened this issue Jul 6, 2022 · 0 comments
Open

reject subscription if already initialised #260

RichardWright opened this issue Jul 6, 2022 · 0 comments

Comments

@RichardWright
Copy link

We are running a system where subscriptions only need to be initialised. The subsequent new event listeners are just a drag on memory. Currently we place that logic on the client, I'm looking to move this to the subscription server.

  1. What does failing to return an async iterable actually do? It's approach I've seen other people use (for example, failing auth)

  2. What is a good way to check a subscription has already been created so that subsequent requests can be rejected?

/label help-wanted

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

1 participant