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

# Stream End • Rust AI Agent SDK

> stream_end: Create a stream end event

# stream\_end

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

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

Create a stream end event

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def stream_end() -> Self
```

### Returns

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