Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / bridgeMemoryGuardToAudit
Function: bridgeMemoryGuardToAudit()
ts
function bridgeMemoryGuardToAudit(opts): MemoryGuardBridgeTeardown;Defined in: packages/security/src/audit/memory-guard-bridge.ts:55
Subscribe the audit-log subsystem to the guard audit emitter. Returns a teardown function.
Writes are serialised through a per-bridge queue so concurrent guard events never race on db.latest() and produce duplicate seq values. Failures are isolated from the guard fast path via the onWriteError callback.
Parameters
| Parameter | Type |
|---|---|
opts | BridgeMemoryGuardToAuditOptions |