This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: init db in overridable method for easier extending (#21)
Sometimes you might want to pass a fully initialised level instance to the LevelDatastore constructor or use a singleton or something else. Instead of creating the level instance in the constructor this change adds a method that child classes can override to tweak the behaviour as they see fit.
- Loading branch information