---
title: DispatchSource.ProcessEvent
framework: dispatch
role: symbol
role_heading: Structure
path: dispatch/dispatchsource/processevent
---

# DispatchSource.ProcessEvent

Events related to a process.

## Declaration

```swift
struct ProcessEvent
```

## Topics

### Process Event Flags

- [all](dispatch/dispatchsource/processevent/all.md)
- [exec](dispatch/dispatchsource/processevent/exec.md)
- [exit](dispatch/dispatchsource/processevent/exit.md)
- [fork](dispatch/dispatchsource/processevent/fork.md)
- [signal](dispatch/dispatchsource/processevent/signal.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Creating a Process Source

- [makeProcessSource(identifier:eventMask:queue:)](dispatch/dispatchsource/makeprocesssource(identifier:eventmask:queue:).md)
- [DispatchSourceProcess](dispatch/dispatchsourceprocess.md)
