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

Run logic on unsubscribed #96

Open
nikitaKaner opened this issue Oct 24, 2022 · 2 comments
Open

Run logic on unsubscribed #96

nikitaKaner opened this issue Oct 24, 2022 · 2 comments

Comments

@nikitaKaner
Copy link

Hello, everyone!

I have a server with API that arrange all my clients. I want to send notification to all admins when some client is disconnected, with all information about it. I'm connecting my clients by its id in the database.

So... how can i run logic when graphql subscription client has unsubscribed?

@Luferov
Copy link

Luferov commented Oct 24, 2022

Maybe like this #62

@nikitaKaner
Copy link
Author

Thank you for the answer. I'l try it!

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