1 write to _valueTask
Microsoft.Maui.Controls (1)
Internals\AsyncValue.cs (1)
45
_valueTask
= valueTask ?? throw new ArgumentNullException(nameof(valueTask));
6 references to _valueTask
Microsoft.Maui.Controls (6)
Internals\AsyncValue.cs (6)
50
if (
_valueTask
.IsCompleted)
53
_valueTask
.ContinueWith(t => IsRunning = false, scheduler);
55
if (
_valueTask
.Status == TaskStatus.RanToCompletion)
58
_valueTask
.ContinueWith(t => OnPropertyChanged(nameof(Value)), CancellationToken.None, TaskContinuationOptions.OnlyOnRanToCompletion, scheduler);
78
if (
_valueTask
.Status != TaskStatus.RanToCompletion)
81
return
_valueTask
.Result;