using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace LeanCloud.Storage.Internal
{
public interface IAVCommandRunner
{
///
/// Executes and convert the result into Dictionary.
///
/// The command to be run.
/// Upload progress callback.
/// Download progress callback.
/// The cancellation token for the request.
///
Task>> RunCommandAsync(AVCommand command,
IProgress uploadProgress = null,
IProgress downloadProgress = null,
CancellationToken cancellationToken = default);
}
}