Skip to main content
zerotal

Documentation


Documentation / @zerotal/devtools / index / TraceStoreOptions

Interface: TraceStoreOptions

Defined in: devtools/src/TraceStore.ts:17

Properties

capacity?

optional capacity?: number

Defined in: devtools/src/TraceStore.ts:19

How many traces to keep in memory and load back on open.


dbPath?

optional dbPath?: string | null

Defined in: devtools/src/TraceStore.ts:21

SQLite file backing the history. Pass null to keep traces in memory only.


pruneHours?

optional pruneHours?: number

Defined in: devtools/src/TraceStore.ts:23

How long a persisted trace survives, in hours.