MCPcopy Create free account
hub / github.com/coder/agentapi / EventEmitter

Struct EventEmitter

lib/httpapi/events.go:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69type EventEmitter struct {
70 mu sync.Mutex
71 messages []st.ConversationMessage
72 status AgentStatus
73 agentType mf.AgentType
74 chans map[int]chan Event
75 chanIdx int
76 subscriptionBufSize uint
77 screen string
78 errors []ErrorBody
79 clock quartz.Clock
80}
81
82func convertStatus(status st.ConversationStatus) AgentStatus {
83 switch status {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected