> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Context No Op Sink • AI Agent SDK

> ContextNoOpSink: No-operation sink that discards all events.

# ContextNoOpSink

> Defined in the [**Context Events**](../modules/context_events) module.

<Badge color="blue">AI Agent</Badge>

No-operation sink that discards all events.

Used as the default sink when context tracing is disabled.
Has near-zero overhead.

## Methods

<CardGroup cols={2}>
  <Card title="emit()" icon="function" href="../functions/ContextNoOpSink-emit">
    Discard the event.
  </Card>

  <Card title="flush()" icon="function" href="../functions/ContextNoOpSink-flush">
    No-op.
  </Card>

  <Card title="close()" icon="function" href="../functions/ContextNoOpSink-close">
    No-op.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/trace/context_events.py#L288">
  `praisonaiagents/trace/context_events.py` at line 288
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Context Concept" icon="layer-group" href="/docs/docs/concepts/context" />

  <Card title="Context Management" icon="sliders" href="/docs/docs/features/context-management" />

  <Card title="Context Strategies" icon="diagram-project" href="/docs/docs/features/context-strategies" />
</CardGroup>
