func (l *Lobby) connect(event js.Value) {
	err := l.Socket.Connect(event)
	if err != nil {
		l.log.Error(err.Error())
	}
}
// connect makes a BLOCKING request to connect to the lobby.
// It is expected that the server will respond with a game infos message.
connect makes a BLOCKING request to connect to the lobby.
It is expected that the server will respond with a game infos message.
// connect makes a BLOCKING request to connect to the lobby . // It is expected that the server will respond with a game infos message .
func (l *Lobby) connect(event js.Value) {
	err := l.Socket.Connect(event)
	if err != nil {
		l.log.Error(err.Error())
	}
}
func ( l * Lobby ) connect ( event js . Value ) { err := l . Socket . Connect ( event ) if err != nil { l . log . Error ( err . Error ( ) ) } }
connect makes a BLOCKING request to connect to the lobby.
connect makes a BLOCKING request to connect to the lobby .