(engine any, backend RendererBackend)
| 129 | func (s *TaskEventSink) Get() TaskUiEvent { |
| 130 | return <-s.queue |
| 131 | } |
| 132 | |
| 133 | type 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 |