The return value is IGNORED — unless it is a promise, whose rejection every
flowsafe caller contains (the same availability-over-export-reliability
policy as breakwater's AuditLogger.record, and what makes a composed
combineAuditSinks(...) with an async member safe to wire here directly).
Typed unknown, not void | Promise<void>: the union would forfeit TS's
void-return leniency and break every (event) => events.push(event)-shaped
sink, while unknown admits sync sinks, async sinks, and expression-bodied
shorthand alike.
The return value is IGNORED — unless it is a promise, whose rejection every flowsafe caller contains (the same availability-over-export-reliability policy as breakwater's AuditLogger.record, and what makes a composed
combineAuditSinks(...)with an async member safe to wire here directly). Typedunknown, notvoid | Promise<void>: the union would forfeit TS's void-return leniency and break every(event) => events.push(event)-shaped sink, whileunknownadmits sync sinks, async sinks, and expression-bodied shorthand alike.