Releases any resources held by this instance.
List all entries in memory.
Array of all stored entries
Read a single entry from memory.
Unique entry identifier
Entry value
Remove an entry from memory.
Unique entry identifier
Search memory using BM25 full-text scoring.
Search query string
Optionalsettings: SearchSettingsArray of matching entries with scores
Initialize the memory instance.
Whether this is the first initialization
Write a value to memory.
Unique entry identifier
Value to store
Optional BM25 index string; defaults to JSON.stringify(value)
Interface for memory instance implementations. Defines the contract for local, persist, and dummy backends.