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

Struct streamEventMsg

internal/tui/commands.go:19–22  ·  view source on GitHub ↗

streamEventMsg and streamClosedMsg tag their originating channel so the model can drop events from a stream the current turn no longer owns. After Ctrl+C → fresh submit, the prior turn's readEvent Cmd is still scheduled; without the tag its tokens leak into the new turn, or its close runs endTurn ag

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected