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

Expose a static Session closed event #166

Closed
blakebyrnes opened this issue Oct 14, 2022 · 0 comments · Fixed by #174
Closed

Expose a static Session closed event #166

blakebyrnes opened this issue Oct 14, 2022 · 0 comments · Fixed by #174
Labels
good first issue Good for newcomers

Comments

@blakebyrnes
Copy link
Contributor

We should have a static session closed event on Session (see new event) that broadcasts AFTER the database is fully shut down - this is among the last lines of Session.close(). It should include the id of the session, and probably the databasePath.

We should include an example that shows subscribing to this event and deleting databases. Possibly also loading the db using the SessionDb class (assuming someone wants to read internals).

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

Successfully merging a pull request may close this issue.

1 participant