---
title: init
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/iotimerdispatchsource/init
---

# init

Handles the basic initialization of the dispatch source.

## Declaration

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

## Return Value

Return Value true if initialization was successful, or false if an error occurred.

## Discussion

Discussion Don’t call this method directly. Call Create when you want to create a new timer dispatch queue.

## See Also

### Configuring the Timer Source

- [Create](driverkit/iotimerdispatchsource/create.md)
- [free](driverkit/iotimerdispatchsource/free.md)
- [SetHandler](driverkit/iotimerdispatchsource/sethandler.md)
