MemoryCacheStoreOptions
Options of createMemoryCacheStore.
Options of createMemoryCacheStore.
Import#
ts
import type { MemoryCacheStoreOptions } from "@shadow-js/dusk/server";
Signature#
ts
interface MemoryCacheStoreOptions {
/** Most entries kept at once; the least recently used one is evicted first. Default 500. */
readonly maxEntries?: number;
}
Members#
| Name | Type | Description |
|---|---|---|
maxEntries? |
readonly maxEntries?: number |
Most entries kept at once; the least recently used one is evicted first. Default 500. |