---
title: init
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/iodispatchsource/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.

## See Also

### Configuring the Dispatch Source

- [free](driverkit/iodispatchsource/free.md)
- [Cancel](driverkit/iodispatchsource/cancel.md)
