---
title: waitForState
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/ioservice/3516492-waitforstate
---

# waitForState

## Declaration

```occ
IOReturn waitForState(UInt32 mask, UInt32 value, uint64_t timeout);
```
