Class AsyncUtils.ValueWaiter<T>
A utility class that asynchronously waits until a value of type T is assigned.
public class AsyncUtils.ValueWaiter<T>
Type Parameters
T
The type of value to wait for.
- Inheritance
-
AsyncUtils.ValueWaiter<T>
Methods
- SetValue(T)
Assigns a value and completes the waiting task.
- WaitForValueAsync()
Returns a task that waits until a value of type T is assigned.