onVersionChange property
Stream<VersionChangeEvent>
get
onVersionChange
listen for onVersionChange event
best behavior would be to simply close the database and eventually reload the page assuming the same page is updating the database in a new version
Implementation
Stream<VersionChangeEvent> get onVersionChange;