# WaitForBuiltInQueueFlush()

> Forcefully wait for any commands created on _builtIn or on any derivative objects to have taken effect.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Audio](/engine/6000.5/script-reference/unityengine/audio.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public static void WaitForBuiltInQueueFlush()
```

### Remarks

Normally this happens automatically over time. This should only be used in exceptional scenarios (because it mostly likely stalls for a while) or for deterministic testing.
