bn.getStorageInfo
▸ getStorageInfo(): Promise
<StorageInfo
>
description
Gets information about the current storage asynchronously.
example
Returns
Promise
<StorageInfo
>
StorageInfo
#
Interface: StorageInfoName | Type | Description |
---|---|---|
keys | string [] | All keys in the current storage |
currentSize | number | Current space occupied (in KB) |
limitSize | number | Space size limit (in KB) |