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

Invoke a handler on client disconnect #12

Open
josegonzalez opened this issue Apr 25, 2017 · 1 comment
Open

Invoke a handler on client disconnect #12

josegonzalez opened this issue Apr 25, 2017 · 1 comment

Comments

@josegonzalez
Copy link
Member

josegonzalez commented Apr 25, 2017

I'm not sure if this is possible, but it would be cool to be able to call a disconnected-handler that takes an argument user. This way, if your handler creates any artifacts, the disconnect-handler can clean up after it.

I think this is part of the disconnect, but not sure if that's correct or not.

@josegonzalez josegonzalez changed the title Disconnect Handler Invoke a handler on client disconnect Apr 25, 2017
@progrium
Copy link
Contributor

After a certain number of callbacks, I think we'd also want to change from args to config (env/file).

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

No branches or pull requests

2 participants