ProcessOne()
This function can called in the main thread to force the execution of one enqueued action.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static bool ProcessOne()
Returns
Type | Description |
|---|---|
| bool | Returns true if an enqueued action was processed. |
Remarks
This can be used to prevent the main thread from waiting for an action to be executed later. We usually use this function internally when we process a synchronous search request using SearchService.Request with SearchFlags.Synchronous.