Enqueue
This function can be used in a thread to enqueue an action that will be executed later in the main thread.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
Enqueue(Action)
This function can be used in a thread to enqueue an action that will be executed later in the main thread.
public static void Enqueue(Action action)
Parameters
Action to be executed in the main thread later.
Enqueue(Action, double)
This function can be used in a thread to enqueue an action that will be executed later in the main thread.
public static void Enqueue(Action action, double delayInSeconds)