@xtandard/links/storage/memory
In-memory storage — zero dependencies; for tests, demos and development.
import { … } from "@xtandard/links/storage/memory";Functions
Section titled “Functions”| Name | Summary |
|---|---|
createMemoryStorage |
Create an in-memory LinksStorage. watch fires callbacks on the next microtask after a write/remove; compareAndSwap compares deep equality. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
MemoryLinksStorage |
The full capability set the memory adapter implements. |
MemoryStorageOptions |
Options for createMemoryStorage. |