MCPcopy Create free account
hub / github.com/codehamr/codehamr / readEvent

Function readEvent

internal/tui/commands.go:40–48  ·  view source on GitHub ↗

readEvent drains one event from the LLM stream as a tea.Msg, re-scheduled until the channel closes. Tags ch so Update can spot stale prior-turn events.

(ch <-chan llm.Event)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

updateMethod · 0.85
startChatMethod · 0.85
handleStreamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected