Skip to main content

attachLedgerAppender

@hardkas/core


@hardkas/core / attachLedgerAppender

Function: attachLedgerAppender()

attachLedgerAppender(workspaceRoot): () => void

Defined in: packages/core/src/events.ts:297

Attaches the canonical Event Ledger appender to the core event bus. This guarantees that all formal EventEnvelopes are persisted to events.jsonl.

Parameters​

workspaceRoot​

string

Returns​

() => void