(message: WorkerRequest)
| 124 | } |
| 125 | |
| 126 | postMessage(message: WorkerRequest): void { |
| 127 | // Only send messages when runner is active (not fully stopped) |
| 128 | // Allow sending during STOPPING state for the 'stop' message itself |
| 129 | if (this._state !== RunnerState.STOPPED) { |
| 130 | return this.worker.send(message) |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | startTracesSpan(name: string): Span { |
| 135 | const traces = this._traces |
no test coverage detected