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

Method flush

pkg/web/sse/ssehandler.go:233–235  ·  view source on GitHub ↗

flush attempts to flush the response writer

()

Source from the content-addressed store, hash-verified

231
232// flush attempts to flush the response writer
233func (h *SSEHandlerCh) flush() error {
234 return h.rc.Flush()
235}
236
237// setError sets the error state thread-safely
238func (h *SSEHandlerCh) setError(err error) {

Callers 3

SetupSSEMethod · 0.95
writeDirectlyMethod · 0.95
writeEventMethod · 0.95

Calls 1

FlushMethod · 0.65

Tested by

no test coverage detected