MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / NewUiRuntime

Function NewUiRuntime

ui/runtime.go:131–140  ·  view source on GitHub ↗
(engine any, backend RendererBackend)

Source from the content-addressed store, hash-verified

129func (s *TaskEventSink) Get() TaskUiEvent {
130 return <-s.queue
131}
132
133type UiRuntime struct {
134 Engine any
135 UI RendererBackend
136 Frame RenderFrame
137 TaskSink *TaskEventSink
138 Dirty bool
139 LastFlushAt time.Time
140 Mounted bool
141 FrameInterval time.Duration
142 MaxTaskActivityEntries int
143 CurrentState *agent.AgentState

Calls 2

NewRenderFrameFunction · 0.85
NewTaskEventSinkFunction · 0.85