MCPcopy
hub / github.com/jesseduffield/lazygit / OnUIThread

Method OnUIThread

pkg/gui/gui_common.go:119–121  ·  view source on GitHub ↗
(f func() error)

Source from the content-addressed store, hash-verified

117}
118
119func (self *guiCommon) OnUIThread(f func() error) {
120 self.gui.onUIThread(f)
121}
122
123func (self *guiCommon) OnUIThreadContentOnly(f func() error) {
124 self.gui.onUIThreadContentOnly(f)

Callers

nothing calls this directly

Calls 1

onUIThreadMethod · 0.80

Tested by

no test coverage detected