<PackageReference Include="Azure.Core" Version="1.55.0" />

Azure.Core.OperationState<T>

struct OperationState<T>
public bool HasCompleted { get; }

public bool HasSucceeded { get; }

public Response RawResponse { get; }

public T Value { get; }

public static OperationState<T> Failure(Response rawResponse, RequestFailedException operationFailedException = null)

public static OperationState<T> Pending(Response rawResponse)

public static OperationState<T> Success(Response rawResponse, T value)