func (l *grpcListener) Accept() (net.Conn, error) {
	select {
	case <-l.listenerCtx.Done():
		return nil, io.EOF
	case stream := <-l.streamCh:
		return &streamConn{Stream: stream}, nil
	}
}
// Accept waits for and returns the next connection to the listener.
Accept waits for and returns the next connection to the listener.
// Accept waits for and returns the next connection to the listener .
func (l *grpcListener) Accept() (net.Conn, error) {
	select {
	case <-l.listenerCtx.Done():
		return nil, io.EOF
	case stream := <-l.streamCh:
		return &streamConn{Stream: stream}, nil
	}
}
func ( l * grpcListener ) Accept ( ) ( net . Conn , error ) { select { case <- l . listenerCtx . Done ( ) : return nil , io . EOF case stream := <- l . streamCh : return & streamConn { Stream : stream } , nil } }
Accept waits for and returns the next connection to the listener.
Accept waits for and returns the next connection to the listener .