---
title: timeout
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/textureresource/drawablequeue-swift.class/descriptor/timeout
---

# timeout

Specifies a timeout value in seconds when querying nextDrawable(). nextDrawable() will be blocked for up to the specified timeout period for a drawable to become available else throws NextDrawableError.timeoutReached. By default this is set to 1 second. Note that if allowsNextDrawableTimeout is false, then the timeout parameter will be ignored.

## Declaration

```swift
var timeout: Duration { get set }
```
