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

Function GetGlobalRenderContext

tsunami/engine/globalctx.go:64–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func GetGlobalRenderContext() *RenderContextImpl {
65 globalCtxMutex.Lock()
66 defer globalCtxMutex.Unlock()
67 gid := goid.Get()
68 if gid != globalRenderGoId {
69 return nil
70 }
71 return globalRenderContext
72}
73
74func setGlobalEventContext(ec *EventContextImpl) {
75 globalCtxMutex.Lock()

Callers 11

GetMethod · 0.92
SetMethod · 0.92
SetFnMethod · 0.92
UseVDomRefFunction · 0.92
UseRefFunction · 0.92
UseIdFunction · 0.92
UseRenderTsFunction · 0.92
UseResyncFunction · 0.92
UseEffectFunction · 0.92
UseLocalFunction · 0.92
UseGoRoutineFunction · 0.92

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected