Partager via


AsyncValue<T>(Task<T>, T) Constructor

Definition

public AsyncValue (System.Threading.Tasks.Task<T> valueTask, T defaultValue = default);
new Microsoft.Maui.Controls.Internals.AsyncValue<'T> : System.Threading.Tasks.Task<'T> * 'T -> Microsoft.Maui.Controls.Internals.AsyncValue<'T>
Public Sub New (valueTask As Task(Of T), Optional defaultValue As T = Nothing)

Parameters

valueTask
Task<T>
defaultValue
T

Applies to