---
title: Event
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/event
---

# Event

Maintains the status of the pipeline.

## Declaration

```swift
struct Event
```

## Topics

### Creating the event

- [init(origin:itemCount:totalItemCount:metrics:)](createmlcomponents/event/init(origin:itemcount:totalitemcount:metrics:).md)

### Getting the properties

- [itemCount](createmlcomponents/event/itemcount.md)
- [metrics](createmlcomponents/event/metrics.md)
- [origin](createmlcomponents/event/origin.md)
- [totalItemCount](createmlcomponents/event/totalitemcount.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Event handling

- [EventHandler](createmlcomponents/eventhandler.md)
- [MetricsKey](createmlcomponents/metricskey.md)
