()
| 157 | } |
| 158 | |
| 159 | private getOTELCarrier() { |
| 160 | const activeContext = this._otel?.currentContext || this._otel?.workerContext |
| 161 | return activeContext |
| 162 | ? this._traces.getContextCarrier(activeContext) |
| 163 | : undefined |
| 164 | } |
| 165 | |
| 166 | async start(options: { workerId: number }): Promise<void> { |
| 167 | // Wait for any ongoing operation to complete |
no test coverage detected