<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/IOTimerDispatchSource/init",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOTimerDispatchSource@F@init#"
  },
  "title" : "init"
}
-->

# init

Handles the basic initialization of the dispatch source.

```
virtual bool init();
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if initialization was successful, or <doc://com.apple.documentation/documentation/Swift/false> if an error occurred.

## Discussion

Don’t call this method directly. Call [`Create`](/documentation/DriverKit/IOTimerDispatchSource/Create) when you want to create a new timer dispatch queue.

---

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)