using Grpc.Core;
using System.Threading;
namespace Grpc.Extension.Common.Internal
{
///
/// ServerCallContextAccessor
///
public static class ServerCallContextAccessor
{
private static readonly AsyncLocal context = new AsyncLocal();
public static ServerCallContext Current {
get { return context.Value; }
set { context.Value = value; }
}
}
}