2019-07-19 15:01:34 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace LeanCloud.Storage.Internal
|
|
|
|
|
{
|
|
|
|
|
public interface IAVCloudCodeController
|
|
|
|
|
{
|
2019-08-28 17:00:03 +08:00
|
|
|
|
Task<T> CallFunctionAsync<T>(string name,
|
2019-07-19 15:01:34 +08:00
|
|
|
|
IDictionary<string, object> parameters,
|
|
|
|
|
string sessionToken,
|
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
|
|
|
|
|
Task<T> RPCFunction<T>(string name, IDictionary<string, object> parameters,
|
|
|
|
|
string sessionToken,
|
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
}
|
|
|
|
|
}
|