MCPcopy
hub / github.com/vitest-dev/vitest / getOTELCarrier

Method getOTELCarrier

packages/vitest/src/node/pools/poolRunner.ts:159–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 3

requestMethod · 0.95
startMethod · 0.95
stopMethod · 0.95

Calls 1

getContextCarrierMethod · 0.80

Tested by

no test coverage detected