Package ai.acolite.agentsdk.core.tracing
Class TraceContextState
java.lang.Object
ai.acolite.agentsdk.core.tracing.TraceContextState
TraceContextState
Holds the current trace and span state for a thread. Used by TraceContext for ThreadLocal storage.
This class is mutable to allow updating the current span as execution progresses through nested spans.
Source: https://github.com/openai/openai-agents-js/blob/main/packages/agents-core/src/tracing/context.ts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Create a copy of this state for propagation to another thread
-
Constructor Details
-
TraceContextState
-
-
Method Details
-
copy
Create a copy of this state for propagation to another thread
-