Xamarin.CommunityToolkit by Microsoft

<PackageReference Include="Xamarin.CommunityToolkit" Version="2.0.0" />

.NET API 749,960 bytes

 AsyncValueCommand

An implementation of IAsyncValueCommand. Allows Commands to safely be used asynchronously with Task.
public AsyncValueCommand(Func<ValueTask> execute, Func<object, bool> canExecute = null, Action<Exception> onException = null, bool continueOnCapturedContext = false, bool allowsMultipleExecutions = true)

Initializes a new instance of AsyncValueCommand

public AsyncValueCommand(Func<ValueTask> execute, Func<bool> canExecute, Action<Exception> onException = null, bool continueOnCapturedContext = false, bool allowsMultipleExecutions = true)

Initializes a new instance of AsyncValueCommand

Executes the Command as a ValueTask