Releases any resources held by this instance.
List all entries in memory.
Filters out entries whose when is greater than the requested when.
Logical timestamp at which the read is happening (look-ahead guard)
Array of all stored entries
Read a single entry from memory.
Behaves as not-found if the stored when is greater than the requested when.
Unique entry identifier
Logical timestamp at which the read is happening (look-ahead guard)
Entry value
Remove an entry from memory.
Unique entry identifier
Logical timestamp (kept for API consistency; removal is by UUID)
Search memory using BM25 full-text scoring.
Filters out entries whose when is greater than the requested when.
Search query string
Logical timestamp at which the read is happening (look-ahead guard)
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)
Logical timestamp this entry belongs to (look-ahead guard)
Interface for memory instance implementations. Defines the contract for local, persist, and dummy backends.