---
title: IODispatchSource
framework: kernel
role: symbol
role_heading: Class
path: kernel/iodispatchsource
---

# IODispatchSource

## Declaration

```occ
class IODispatchSource : OSObject, IODispatchSourceInterface
```

## Topics

### Instance Methods

- [Cancel](kernel/iodispatchsource/3223291-cancel.md)
- [CheckForWork](kernel/iodispatchsource/3223293-checkforwork.md)
- [Dispatch](kernel/iodispatchsource/3223295-dispatch.md)
- [SetEnable](kernel/iodispatchsource/3223296-setenable.md)
- [SetEnableWithCompletion](kernel/iodispatchsource/3325697-setenablewithcompletion.md)
- [SetEnable_Impl](kernel/iodispatchsource/3325699-setenable_impl.md)
- [free](kernel/iodispatchsource/3438199-free.md)
- [getMetaClass](kernel/iodispatchsource/3223299-getmetaclass.md)
- [init](kernel/iodispatchsource/3438200-init.md)

### Type Methods

- [Cancel_Invoke](kernel/iodispatchsource/3223292-cancel_invoke.md)
- [CheckForWork_Invoke](kernel/iodispatchsource/3223294-checkforwork_invoke.md)
- [SetEnableWithCompletion_Invoke](kernel/iodispatchsource/3325698-setenablewithcompletion_invoke.md)
- [SetEnable_Invoke](kernel/iodispatchsource/3223297-setenable_invoke.md)

## Relationships

### Inherits From

- [IODispatchSourceInterface](kernel/iodispatchsourceinterface.md)
- [OSObject](kernel/osobject.md)

## See Also

### Base Types

- [IOCommandPool](kernel/iocommandpool.md)
- [IOCommandGate](kernel/iocommandgate.md)
- [IOCommand](kernel/iocommand.md)
- [IOEventSource](kernel/ioeventsource.md)
