MemoryCounterStoreOptions
Defined in: src/counters/memory.ts:12
Options for createMemoryCounterStore.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
initial? |
Record<string, number> |
Seed values. | src/counters/memory.ts:16 |
now? |
() => number |
Injectable clock (unix ms) for claim TTLs and expiry hints. Default Date.now. |
src/counters/memory.ts:14 |