| 17 | }; |
| 18 | |
| 19 | export interface IpcEventData { |
| 20 | direction: Direction; |
| 21 | channel: Channel; |
| 22 | args: any[]; |
| 23 | timestamp: number; |
| 24 | method?: string; |
| 25 | serviceWorkerDetails?: ServiceWorkerDetails; |
| 26 | responseTime?: number; // To track response time for `sendSync` and `invoke` methods |
| 27 | uuid?: UUID; // UUID to match requests and responses (for `invoke` and `sendSync` methods on `ipcRenderer`) |
| 28 | } |
| 29 | |
| 30 | export type LogLevelString = 'debug' | 'info' | 'warn' | 'error' | 'none'; |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected