MCPcopy Create free account
hub / github.com/ECSTeam/cloudfoundry-top-plugin / refreshDataAndDisplayThread

Method refreshDataAndDisplayThread

ui/masterUi.go:573–584  ·  view source on GitHub ↗
(g *gocui.Gui)

Source from the content-addressed store, hash-verified

571}
572
573func (mui *MasterUI) refreshDataAndDisplayThread(g *gocui.Gui) {
574
575 mui.updateDisplay(g)
576 for {
577 select {
578 case <-mui.refreshNow:
579 mui.updateDisplay(g)
580 case <-time.After(mui.refreshIntervalMS):
581 mui.updateDisplay(g)
582 }
583 }
584}
585
586func (mui *MasterUI) refreshStatusThread(g *gocui.Gui) {
587

Callers 1

initGuiMethod · 0.95

Calls 1

updateDisplayMethod · 0.95

Tested by

no test coverage detected