Files
discord-decomp/_bundle/Module881.js
T
2026-11-01 12:12:55 +02:00

15 lines
740 B
JavaScript

// Metro module 881 (f882).
import { withScope, getTraceContextFromScope } from "./Module848";
import { getActiveSpan, spanToTraceContext } from "./spanToJSON";
import { getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromScope } from "./getDynamicSamplingContextFromSpan";
Object.defineProperty(exports, Symbol.toStringTag, {
value: "Module"
});
export function _getTraceInfoFromScope(c12542_0, a1) {
return a1 ? withScope(a1, () => {
const activeSpan = getActiveSpan();
const r13 = activeSpan ? spanToTraceContext(activeSpan) : getTraceContextFromScope(a1);
return [activeSpan ? getDynamicSamplingContextFromSpan(activeSpan) : getDynamicSamplingContextFromScope(c12542_0, a1), r13];
}) : [void 0, void 0];
}