Dispatcher
The search dispatcher is used to synchronize events from the search provider threads and the main UI threads.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static class Dispatcher
Static Methods
Method | Description |
|---|---|
| CallDelayed | Register a callback to be executed later in the main thread. |
| Enqueue | This function can be used in a thread to enqueue an action that will be executed later in the main thread. |
| ProcessOne | This function can called in the main thread to force the execution of one enqueued action. |