closeStorage MethodStatic
Close a Storage and optionally delete it.
closeStorage(storage: Storage, deleteStorage: boolean = false): Promise<void>
Parameter | Type | Description |
---|---|---|
storage | Storage | normally not call directly instead use Storage.close() |
deleteStorage | boolean | if true, delete the storage from disk after closing it. |
Returns - Promise<void>
Defined in
- core/frontend/src/NativeApp.ts Line 227
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.