MemoryStorageStrategy
katanakit-js / MemoryStorageStrategy
Function: MemoryStorageStrategy()
Section titled “Function: MemoryStorageStrategy()”function MemoryStorageStrategy(): StorageStrategy;Defined in: infrastructure/storage/storage.service.ts:149
Creates a strategy backed by an in-memory store (SSR / private-mode fallback).
Returns
Section titled “Returns”A StorageStrategy using an in-memory Storage backend.
Example
Section titled “Example”const strategy = MemoryStorageStrategy();strategy.useSetItem("temp", "value");