func (app *BeaconApp) WaitForConnections(numConnections int) {
	for {
		if app.hostNode.PeersConnected() >= numConnections {
			break
		}
		time.Sleep(100 * time.Millisecond)
	}
}
// WaitForConnections waits until beacon app is connected
WaitForConnections waits until beacon app is connected
// WaitForConnections waits until beacon app is connected
func (app *BeaconApp) WaitForConnections(numConnections int) {
	for {
		if app.hostNode.PeersConnected() >= numConnections {
			break
		}
		time.Sleep(100 * time.Millisecond)
	}
}
func ( app * BeaconApp ) WaitForConnections ( numConnections int ) { for { if app . hostNode . PeersConnected ( ) >= numConnections { break } time . Sleep ( 100 * time . Millisecond ) } }
WaitForConnections waits until beacon app is connected
WaitForConnections waits until beacon app is connected