bn.getStorage
▸ getStorage<T
>(options
): Promise
<{ data
: T
}>
description
Gets the specified object asynchronously from the local cache key The content of.
example
Type parameters
Name | Type |
---|---|
T | unknown |
Parameters
Name | Type |
---|---|
options | GetStorageOptions |
Returns
Promise
<{ data
: T
}>
#
Interface: GetStorageOptionsName | Type | Description |
---|---|---|
key | string | Specified in the local cache key |