Preparing search index...
The search index is not available
@xmtp/xmtp-js
@xmtp/xmtp-js
InMemoryPersistence
Class InMemoryPersistence
Hierarchy (
view full
)
BrowserStoragePersistence
InMemoryPersistence
Index
Constructors
constructor
Properties
storage
Methods
get
Item
set
Item
create
Constructors
constructor
new
In
Memory
Persistence
(
storage
)
:
InMemoryPersistence
Parameters
storage
:
Storage
Returns
InMemoryPersistence
Properties
storage
storage
:
Storage
Methods
get
Item
get
Item
(
key
)
:
Promise
<
null
|
Uint8Array
>
Parameters
key
:
string
Returns
Promise
<
null
|
Uint8Array
>
set
Item
set
Item
(
key
,
value
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
Uint8Array
Returns
Promise
<
void
>
Static
create
create
(
)
:
BrowserStoragePersistence
Returns
BrowserStoragePersistence
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
storage
Methods
get
Item
set
Item
create
@xmtp/xmtp-js
Loading...