Interface BaseStoreInterface<K, V>
Methods
mdelete
- mdelete(keys): Promise<void>
-
Returns Promise<void>
- A Promise that resolves when the operation is complete.
mget
- mget(keys): Promise<(undefined | V)[]>
-
Returns Promise<(undefined | V)[]>
- A Promise that resolves with array of values or undefined if key not found.
mset
- mset(keyValuePairs): Promise<void>
-
Returns Promise<void>
- A Promise that resolves when the operation is complete.
yieldKeys
- yieldKeys(prefix?): AsyncGenerator<string | K, any, unknown>
-
Returns AsyncGenerator<string | K, any, unknown>
- An asynchronous generator that yields keys on iteration.
⚠️ Deprecated ⚠️
For backwards compatibility only. Remove on next minor version upgrade.
This feature is deprecated and will be removed in the future.
It is not recommended for use.