Search
Preparing search index...
The search index is not available
@xmtp/xmtp-js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@xmtp/xmtp-js
BrowserStoragePersistence
Class BrowserStoragePersistence
Hierarchy
BrowserStoragePersistence
InMemoryPersistence
Implements
Persistence
Index
Constructors
constructor
Properties
storage
Methods
get
Item
set
Item
create
Constructors
constructor
new
Browser
Storage
Persistence
(
storage
:
Storage
)
:
BrowserStoragePersistence
Parameters
storage:
Storage
Returns
BrowserStoragePersistence
Properties
storage
storage
:
Storage
Methods
get
Item
get
Item
(
key
:
string
)
:
Promise
<
null
|
Uint8Array
>
Parameters
key:
string
Returns
Promise
<
null
|
Uint8Array
>
set
Item
set
Item
(
key
:
string
, value
:
Uint8Array
)
:
Promise
<
void
>
Parameters
key:
string
value:
Uint8Array
Returns
Promise
<
void
>
Static
create
create
(
)
:
BrowserStoragePersistence
Returns
BrowserStoragePersistence
Exports
Browser
Storage
Persistence
constructor
storage
get
Item
set
Item
create
Generated using
TypeDoc