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

# pipeline

# `prefect.server.events.pipeline`

## Classes

### `EventsPipeline` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L7](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L7)</sup>

**Methods:**

#### `events_to_messages` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L9](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L9)</sup>

```python theme={null}
events_to_messages(events: list[Event]) -> list[MemoryMessage]
```

#### `process_events` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L20](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L20)</sup>

```python theme={null}
process_events(self, events: list[Event]) -> None
```

#### `process_message` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L28](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L28)</sup>

```python theme={null}
process_message(self, message: MemoryMessage) -> None
```

Process a single event message

#### `process_messages` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L24](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/events/pipeline.py#L24)</sup>

```python theme={null}
process_messages(self, messages: list[MemoryMessage]) -> None
```
