func (si *streamServerInterceptor) AddInterceptor(arr ...StreamServerInterceptor) StreamServerInterceptor {
	si.lock.Lock()
	defer si.lock.Unlock()
	for _, i := range arr {
		si.interceptors = append(si.interceptors, i.Interceptor())
	}
	return si
}
// AddInterceptor is a convenient way for adding `StreamServerInterceptor`
// to the chain of interceptors. It only calls the method `Interceptor`
// for each of them and append the return value to the chain.
AddInterceptor is a convenient way for adding `StreamServerInterceptor`
to the chain of interceptors. It only calls the method `Interceptor`
for each of them and append the return value to the chain.
// AddInterceptor is a convenient way for adding ` StreamServerInterceptor ` // to the chain of interceptors . It only calls the method ` Interceptor ` // for each of them and append the return value to the chain .
func (si *streamServerInterceptor) AddInterceptor(arr ...StreamServerInterceptor) StreamServerInterceptor {
	si.lock.Lock()
	defer si.lock.Unlock()
	for _, i := range arr {
		si.interceptors = append(si.interceptors, i.Interceptor())
	}
	return si
}
func ( si * streamServerInterceptor ) AddInterceptor ( arr ... StreamServerInterceptor ) StreamServerInterceptor { si . lock . Lock ( ) defer si . lock . Unlock ( ) for _ , i := range arr { si . interceptors = append ( si . interceptors , i . Interceptor ( ) ) } return si }
AddInterceptor is a convenient way for adding `StreamServerInterceptor`
to the chain of interceptors.
AddInterceptor is a convenient way for adding ` StreamServerInterceptor ` to the chain of interceptors .