Skip to main content
zerotal

Documentation


Documentation / @zerotal/devtools / index / traceStore

Function: traceStore()

traceStore(): TraceStore

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

The store devtools records into, created on first call.

Lazy on purpose: the module-level new TraceStore() this replaced opened a SQLite file and started an hourly timer at import time, so a production boot that merely imported DevtoolsProvider created .zerotal/devtools.sqlite in its working directory even though the provider itself is a no-op there.

Returns

TraceStore