Library API
⬅ Back to Guides
Preparing search index...
common.index
createMemoryStorage
Function createMemoryStorage
createMemoryStorage
(
maxSize
?:
number
,
ttl
?:
number
)
:
Storage
Creates an in-memory Storage object fallback for environments without native Storage support
Parameters
maxSize
:
number
= 1000
ttl
:
number
= Infinity
Returns
Storage
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
⬅ Back to Guides
Library API
Loading...
Creates an in-memory Storage object fallback for environments without native Storage support