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 close event #1212

Merged
merged 1 commit into from Jan 21, 2021
Merged

Expose close event #1212

merged 1 commit into from Jan 21, 2021

Conversation

jsrilapan
Copy link
Contributor

@jsrilapan jsrilapan commented Jan 20, 2021

Add the close event to the DbEvents list, so close event can be subscribed by doing this,
db.on('close'). This close event only fires if the database is unexpectedly closed.

Add the close event to the DbEvents list, so close event can be subscribed by doing this,
db.on('close'). This close event only fires if the database is unexpectedly closed.
@dfahlander dfahlander merged commit 58b7f60 into dexie:master Jan 21, 2021
1 check passed
@dfahlander
Copy link
Collaborator

dfahlander commented Jan 21, 2021

Thanks a lot!

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

Successfully merging this pull request may close these issues.

None yet

2 participants