You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Close this storage.// All functions called after this will throw a StorageIsClosedError,// except you can call close() as many times as you want.// Once closed, a Storage instance cannot be opened again.// TODO: what happens when a long-running process like a sync is happening, and the Storage is closed?close() : void;// Find out if the storage is closed.isClosed() : boolean;
What's the problem you want solved?
Some Storage implementations might need to do clean-up operations when closing.
Is there a solution you'd like to recommend?
Add a close() method to the IStorage interface.
The text was updated successfully, but these errors were encountered: