---
title: IODispatchFunction
framework: driverkit
role: symbol
role_heading: Type Alias
path: driverkit/iodispatchfunction
---

# IODispatchFunction

A C-style function to execute on a dispatch queue.

## Declaration

```occ
typedef void (*)(void *) IODispatchFunction;
```

## Parameters

- `context`: A pointer to contextual data that you need to perform any tasks. You specify the pointer to this data when scheduling the function for execution.

## See Also

### Executing a Task Asynchronously

- [DispatchAsync](driverkit/iodispatchqueue/dispatchasync.md)
- [DispatchAsync_f](driverkit/iodispatchqueue/dispatchasync_f.md)
- [IODispatchBlock](driverkit/iodispatchblock.md)
