( slaveName: string, msgType: string, )
| 135 | * useMasterMonitor's inline handler — keeps the two gates in sync. |
| 136 | */ |
| 137 | export function shouldDropMutedMessage( |
| 138 | slaveName: string, |
| 139 | msgType: string, |
| 140 | ): boolean { |
| 141 | if (hasSendOverride(slaveName)) return false |
| 142 | if (!isMasterPipeMuted(slaveName)) return false |
| 143 | return MUTED_DROPPABLE_TYPES.has(msgType) |
| 144 | } |
| 145 | |
| 146 | function pipeMessageToSessionEntry( |
| 147 | slaveName: string, |
no test coverage detected