Skip to main content

get_context_emitter

Function
This function is defined in the context_events module.
Get the current context trace emitter. Returns a disabled NoOp emitter if not set (zero overhead). This function is safe to call from any async context or thread.

Signature

Returns

'ContextTraceEmitter'
The current emitter or a disabled default.

Uses

  • ContextTraceEmitter
  • ContextNoOpSink

Source

View on GitHub

praisonaiagents/trace/context_events.py at line 41

Context Concept

Context Management

Context Strategies