---
title: init
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/iodispatchsource/3438200-init
---

# init

Handles the basic initialization of the dispatch source.

## Declaration

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

## Return Value

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

## See Also

### Configuring the Dispatch Source

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