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

# Mark Stream End • Rust AI Agent SDK

> mark_stream_end: Mark stream end

# mark\_stream\_end

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**StreamMetrics**](../classes/StreamMetrics) class in the [**streaming**](../modules/streaming) module.

Mark stream end

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def mark_stream_end(&mut self) -> ()
```

### Returns

<ResponseField name="Returns" type="()">
  The result of the operation.
</ResponseField>
