# InvokeOnAppThread(AppCallbackItem, bool)

> Executes callback item on application thread.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.WSA](/engine/6000.0/script-reference/unityengine/wsa.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static void InvokeOnAppThread(AppCallbackItem item, bool waitUntilDone)
```

### Parameters

**** (\[AppCallbackItem]\(/engine/6000.0/script-reference/unityengine/wsa/appcallbackitem)): Item to execute.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Wait until item is executed.

### Remarks

More information on UI and application threads can be found here.
