(eventData: any)
| 121 | |
| 122 | // Add listener with cleanup |
| 123 | addEventListener('Custom.Event', handleCustomEvent); |
| 124 | |
| 125 | // Set up timeout |
| 126 | const timeoutId = setTimeout(() => { |
| 127 | controller.abort(); |
| 128 | reject(new Error('Timed out waiting for Custom Event')); |
| 129 | }, timeout); |
| 130 | |
| 131 | // Cleanup function |
| 132 | signal.addEventListener( |
| 133 | 'abort', |
nothing calls this directly
no outgoing calls
no test coverage detected