---
title: DispatchSource.TimerFlags
framework: dispatch
role: symbol
role_heading: Structure
path: dispatch/dispatchsource/timerflags
---

# DispatchSource.TimerFlags

Flags to use when configuring a timer dispatch source.

## Declaration

```swift
struct TimerFlags
```

## Topics

### Timer Flags

- [strict](dispatch/dispatchsource/timerflags/strict.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 Timer Source

- [makeTimerSource(flags:queue:)](dispatch/dispatchsource/maketimersource(flags:queue:).md)
- [DispatchSourceTimer](dispatch/dispatchsourcetimer.md)
