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

Function UseRenderTs

pkg/vdom/vdom.go:420–426  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

418}
419
420func UseRenderTs(ctx context.Context) int64 {
421 vc := getRenderContext(ctx)
422 if vc == nil {
423 panic("UseRenderTs must be called within a component (no context)")
424 }
425 return vc.Root.RenderTs
426}
427
428func QueueRefOp(ctx context.Context, ref *VDomRef, op VDomRefOperation) {
429 if ref == nil || !ref.HasCurrent {

Callers

nothing calls this directly

Calls 1

getRenderContextFunction · 0.85

Tested by

no test coverage detected