lightning-fs icon indicating copy to clipboard operation
lightning-fs copied to clipboard

Add a way to know the current "init" status of the FS

Open mig8447 opened this issue 5 years ago • 0 comments

The FS should be able to tell what is the current name with which it was initialized the last time (And maybe the options). Right now the only way to know the name is by querying fsInstance.promises._backend._store and check if it is undefined or if it has a _storeName this would be useful to not initialize the same database twice when you have multiple databases in the same thread that depend on user options

mig8447 avatar Dec 10 '20 19:12 mig8447