---
title: CFRunLoopActivity
framework: corefoundation
role: symbol
role_heading: Structure
path: corefoundation/cfrunloopactivity
---

# CFRunLoopActivity

Run loop activity stages in which run loop observers can be scheduled.

## Declaration

```swift
struct CFRunLoopActivity
```

## Overview

Overview The run loop stages in which an observer is scheduled are selected when the observer is created with CFRunLoopObserverCreate(_:_:_:_:_:_:).

## Topics

### Constants

- [entry](corefoundation/cfrunloopactivity/entry.md)
- [beforeTimers](corefoundation/cfrunloopactivity/beforetimers.md)
- [beforeSources](corefoundation/cfrunloopactivity/beforesources.md)
- [beforeWaiting](corefoundation/cfrunloopactivity/beforewaiting.md)
- [afterWaiting](corefoundation/cfrunloopactivity/afterwaiting.md)
- [exit](corefoundation/cfrunloopactivity/exit.md)
- [allActivities](corefoundation/cfrunloopactivity/allactivities.md)

### Initializers

- [init(rawValue:)](corefoundation/cfrunloopactivity/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)
