Defined in: packages/server/src/commentary/audit-bridge.ts:111
Stable
A DeliveryCommentarySink whose real target is installed later. The WS dispatcher is created before the audit DB opens; the server hands it this forwarding sink and calls LateBoundCommentarySink.bind once the audit-writing sink exists. Decisions emitted before binding are dropped - the dispatcher only sanitizes once it is live (after start(), by which point the audit DB, if configured, has opened and bound).
Defined in: packages/server/src/commentary/types.ts:106
Called once per applied decision. Implementations should be non-throwing; the sanitizer wraps the call in try/catch so a misbehaving sink never blocks the wire.
Graphorin API reference v0.15.1
Graphorin API reference / @graphorin/server / commentary / LateBoundCommentarySink
Interface: LateBoundCommentarySink
Defined in: packages/server/src/commentary/audit-bridge.ts:111
StableA DeliveryCommentarySink whose real target is installed later. The WS dispatcher is created before the audit DB opens; the server hands it this forwarding sink and calls LateBoundCommentarySink.bind once the audit-writing sink exists. Decisions emitted before binding are dropped - the dispatcher only sanitizes once it is live (after
start(), by which point the audit DB, if configured, has opened and bound).Extends
DeliveryCommentarySinkMethods
bind()
Defined in: packages/server/src/commentary/audit-bridge.ts:113
Install the real sink. Replaces any previously-bound target.
Parameters
targetDeliveryCommentarySinkReturns
voidonDecision()
Defined in: packages/server/src/commentary/types.ts:106
Called once per applied decision. Implementations should be non-throwing; the sanitizer wraps the call in
try/catchso a misbehaving sink never blocks the wire.Parameters
decisionDeliveryCommentaryDecisionReturns
voidInherited from
DeliveryCommentarySink.onDecision