<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DISPATCH_SOURCE_TYPE_TIMER",
  "metadataVersion" : "0.1.0",
  "role" : "Macro",
  "symbol" : {
    "kind" : "Macro",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "c:@macro@DISPATCH_SOURCE_TYPE_TIMER"
  },
  "title" : "DISPATCH_SOURCE_TYPE_TIMER"
}
-->

# DISPATCH_SOURCE_TYPE_TIMER

A type of dispatch source for monitoring a timer.

```
#define DISPATCH_SOURCE_TYPE_TIMER
```

## Discussion

A dispatch source that submits the event handler block based on a timer. The handle is unused (pass zero for now). The mask is unused (pass zero for now).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)