Table of Contents

Class AsyncUtils.ValueWaiter<T>

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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.