Preparing search index...
The search index is not available
@vk-io/session
@vk-io/session
MemoryStorage
Class MemoryStorage
Implements
ISessionStorage
Index
Constructors
constructor
Properties
store
Methods
delete
get
set
touch
Constructors
constructor
new
Memory
Storage
(
__namedParameters
?
)
:
MemoryStorage
Parameters
__namedParameters
:
Partial
<
IMemoryStorageOptions
>
= {}
Returns
MemoryStorage
Properties
Private
store
store
:
IMemoryStoreLike
<
string
,
object
>
Methods
delete
delete
(
key
)
:
Promise
<
boolean
>
Parameters
key
:
string
Returns
Promise
<
boolean
>
get
get
(
key
)
:
Promise
<
undefined
|
object
>
Parameters
key
:
string
Returns
Promise
<
undefined
|
object
>
set
set
(
key
,
value
)
:
Promise
<
boolean
>
Parameters
key
:
string
value
:
object
Returns
Promise
<
boolean
>
touch
touch
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
store
delete
get
set
touch
@vk-io/session
MemoryStorage
SessionManager
IContext
IMemoryStorageOptions
IMemoryStoreLike
ISessionContext
ISessionManagerOptions
ISessionStorage
Middleware
SessionForceUpdate
Generated using
TypeDoc