func NewUnaryServerInterceptor(arr ...grpc.UnaryServerInterceptor) UnaryServerInterceptor {
	return &unaryServerInterceptor{
		interceptors: arr,
		lock:         &sync.RWMutex{},
	}
}
// NewUnaryServerInterceptor returns a new `UnaryServerInterceptor`.
// It initializes its interceptor chain with `arr`.
// This implementation is thread-safe.
NewUnaryServerInterceptor returns a new `UnaryServerInterceptor`.
It initializes its interceptor chain with `arr`.
This implementation is thread-safe.
// NewUnaryServerInterceptor returns a new ` UnaryServerInterceptor ` . // It initializes its interceptor chain with ` arr ` . // This implementation is thread - safe .
func NewUnaryServerInterceptor(arr ...grpc.UnaryServerInterceptor) UnaryServerInterceptor {
	return &unaryServerInterceptor{
		interceptors: arr,
		lock:         &sync.RWMutex{},
	}
}
func NewUnaryServerInterceptor ( arr ... grpc . UnaryServerInterceptor ) UnaryServerInterceptor { return & unaryServerInterceptor { interceptors : arr , lock : & sync . RWMutex { } , } }
NewUnaryServerInterceptor returns a new `UnaryServerInterceptor`.
NewUnaryServerInterceptor returns a new ` UnaryServerInterceptor ` .