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

Function Ptr

tsunami/app/defaultclient.go:44–46  ·  view source on GitHub ↗
(v T)

Source from the content-addressed store, hash-verified

42}
43
44func Ptr[T any](v T) *T {
45 return &v
46}
47
48func SetGlobalEventHandler(handler func(event vdom.VDomEvent)) {
49 engine.GetDefaultClient().SetGlobalEventHandler(handler)

Callers 3

app.goFile · 0.92
app.goFile · 0.92
app.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected