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

Function sendEvent

internal/llm/llm.go:343–350  ·  view source on GitHub ↗

sendEvent puts e on out, bailing if parent cancels first, so a slow or vanished consumer after Ctrl+C can't wedge the stream goroutine on a full buffer.

(parent context.Context, out chan<- Event, e Event)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

runMethod · 0.85
readSSEFunction · 0.85
dispatchDeltaFunction · 0.85

Calls

no outgoing calls

Tested by 1