using System;
using System.Threading.Tasks;
namespace Google.GRPC.Core
{
///
/// Return type for client streaming async method.
///
public struct ClientStreamingAsyncResult
{
readonly Task task;
readonly IObserver inputs;
public ClientStreamingAsyncResult(Task task, IObserver inputs)
{
this.task = task;
this.inputs = inputs;
}
public Task Task
{
get
{
return this.task;
}
}
public IObserver Inputs
{
get
{
return this.inputs;
}
}
}
}