> ## 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.

# No Op Sink • AI Agent SDK

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

# NoOpSink

> Defined in the [**protocol**](../modules/protocol) module.

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

No-operation sink that discards all events.

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

## Methods

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

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

  <Card title="close()" icon="function" href="../functions/NoOpSink-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/protocol.py#L116">
  `praisonaiagents/trace/protocol.py` at line 116
</Card>
