MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / SetGlobalEventHandler

Function SetGlobalEventHandler

tsunami/app/defaultclient.go:48–50  ·  view source on GitHub ↗
(handler func(event vdom.VDomEvent))

Source from the content-addressed store, hash-verified

46}
47
48func SetGlobalEventHandler(handler func(event vdom.VDomEvent)) {
49 engine.GetDefaultClient().SetGlobalEventHandler(handler)
50}
51
52// RegisterAppInitFn registers a single setup function that is called before the app starts running.
53// Only one setup function is allowed, so calling this will replace any previously registered

Callers

nothing calls this directly

Calls 2

GetDefaultClientFunction · 0.92
SetGlobalEventHandlerMethod · 0.45

Tested by

no test coverage detected