(event: LoopEvent)
| 152 | function dispatchEvent(event: LoopRecordedEvent): Promise<void>; |
| 153 | function dispatchEvent(event: LoopLiveOnlyEvent): void; |
| 154 | function dispatchEvent(event: LoopEvent): Promise<void> | void { |
| 155 | if (isRecordedEvent(event)) { |
| 156 | return recordEvent(input, event); |
| 157 | } |
| 158 | safeEmitLive(input.emitLiveEvent, event); |
| 159 | } |
| 160 | return dispatchEvent; |
| 161 | } |
| 162 |
no test coverage detected