Search
Preparing search index...
The search index is not available
@obsidize/storage-context
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@obsidize/storage-context
BrowserStorageTransport
Class BrowserStorageTransport
Wraps synchronous storage with the necessary api mask methods.
Hierarchy
BrowserStorageTransport
MockNativeStorage
Implements
StorageTransportApiMask
Index
Constructors
constructor
Properties
source
Methods
clear
get
Item
keys
remove
Item
set
Item
Constructors
constructor
new
Browser
Storage
Transport
(
source
:
Storage
)
:
BrowserStorageTransport
Parameters
source:
Storage
Returns
BrowserStorageTransport
Properties
Readonly
source
source
:
Storage
Methods
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Item
get
Item
(
key
:
string
)
:
Promise
<
undefined
|
null
|
string
>
Parameters
key:
string
Returns
Promise
<
undefined
|
null
|
string
>
keys
keys
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
remove
Item
remove
Item
(
key
:
string
)
:
Promise
<
void
>
Parameters
key:
string
Returns
Promise
<
void
>
set
Item
set
Item
(
key
:
string
, value
:
string
)
:
Promise
<
void
>
Parameters
key:
string
value:
string
Returns
Promise
<
void
>
Exports
Browser
Storage
Transport
constructor
source
clear
get
Item
keys
remove
Item
set
Item
Mock
Native
Storage
Native
Storage
Transport
Proxy
Storage
Transport
Storage
Context
Storage
Context
Entity
Storage
Context
Entity
Array
Storage
Context
Entity
Map
Storage
Context
Key
Value
Pair
Storage
Map
Native
Storage
Like
Serialization
Duplex
Storage
Context
Entity
Options
Storage
Context
Options
Storage
Transport
Api
Mask
get
Default
Storage
Context
Entity
Options
get
Default
Storage
Context
Options
getJSONSerialization
Duplex
Generated using
TypeDoc
Wraps synchronous storage with the necessary api mask methods.