MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / WriteComment

Method WriteComment

pkg/web/sse/ssehandler.go:304–306  ·  view source on GitHub ↗

WriteComment queues an SSE comment

(comment string)

Source from the content-addressed store, hash-verified

302
303// WriteComment queues an SSE comment
304func (h *SSEHandlerCh) WriteComment(comment string) error {
305 return h.queueMessage(SSEMessage{Type: SSEMsgComment, Data: comment})
306}
307
308// Err returns any error that occurred during writing
309func (h *SSEHandlerCh) Err() error {

Callers

nothing calls this directly

Calls 1

queueMessageMethod · 0.95

Tested by

no test coverage detected