Function: setDefaultOnRelationsCacheEvent()
ts
function setDefaultOnRelationsCacheEvent(
handler: RelationsCacheEventHandler | null,
): void;Registers (or clears) the process-wide default relation-cache event handler.
The host calls this once at boot; passing null clears it (used by tests). Absent any handler the event is simply dropped — the package never logs on its own.
Parameters
| Parameter | Type | Description |
|---|---|---|
handler | | RelationsCacheEventHandler | null | The default event handler, or null to clear it. |
Returns
void