---
title: "Decorators"
description: "Decorators exported by @typespec/sse"
toc_min_heading_level: 2
toc_max_heading_level: 3
---

## TypeSpec.SSE

### `@terminalEvent` {#@TypeSpec.SSE.terminalEvent}

Indicates that the presence of this event is a terminal event,
and the client should disconnect from the server.

```typespec
@TypeSpec.SSE.terminalEvent
```

#### Target

`UnionVariant`

#### Parameters

None
