func CaptureSender(capturer func(FDSender), dialopts ...grpc.DialOption) (opts []grpc.DialOption, ok bool) {
	var rvDialOpts []grpc.DialOption
	var rvOK bool
	for _, dialopt := range dialopts {
		if cdo, ok := dialopt.(interface {
			AddPresenders(presenders ...func(FDSender)) grpc.DialOption
		}); ok {
			rvOK = true
			rvDialOpts = append(rvDialOpts, cdo.AddPresenders(capturer))
			continue
		}
		rvDialOpts = append(rvDialOpts, dialopt)
	}
	return rvDialOpts, rvOK
}
// CaptureSender - given a list of dialopts ... if one of them is a grpcfd.TransportCredentials option... add another
// capturer to capture FDSenders on dial
given a list of dialopts ... if one of them is a grpcfd.TransportCredentials option... add another
capturer to capture FDSenders on dial
// CaptureSender - given a list of dialopts ... if one of them is a grpcfd . TransportCredentials option ... add another // capturer to capture FDSenders on dial
func CaptureSender(capturer func(FDSender), dialopts ...grpc.DialOption) (opts []grpc.DialOption, ok bool) {
	var rvDialOpts []grpc.DialOption
	var rvOK bool
	for _, dialopt := range dialopts {
		if cdo, ok := dialopt.(interface {
			AddPresenders(presenders ...func(FDSender)) grpc.DialOption
		}); ok {
			rvOK = true
			rvDialOpts = append(rvDialOpts, cdo.AddPresenders(capturer))
			continue
		}
		rvDialOpts = append(rvDialOpts, dialopt)
	}
	return rvDialOpts, rvOK
}
func CaptureSender ( capturer func ( FDSender ) , dialopts ... grpc . DialOption ) ( opts [ ] grpc . DialOption , ok bool ) { var rvDialOpts [ ] grpc . DialOption var rvOK bool for _ , dialopt := range dialopts { if cdo , ok := dialopt . ( interface { AddPresenders ( presenders ... func ( FDSender ) ) grpc . DialOption } ) ; ok { rvOK = true rvDialOpts = append ( rvDialOpts , cdo . AddPresenders ( capturer ) ) continue } rvDialOpts = append ( rvDialOpts , dialopt ) } return rvDialOpts , rvOK }
given a list of dialopts ... if one of them is a grpcfd.TransportCredentials option... add another
capturer to capture FDSenders on dial
given a list of dialopts ... if one of them is a grpcfd . TransportCredentials option ... add another capturer to capture FDSenders on dial