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

Method isInitialized

pkg/web/sse/ssehandler.go:188–192  ·  view source on GitHub ↗

isInitialized returns whether SetupSSE has been called

()

Source from the content-addressed store, hash-verified

186
187// isInitialized returns whether SetupSSE has been called
188func (h *SSEHandlerCh) isInitialized() bool {
189 h.lock.Lock()
190 defer h.lock.Unlock()
191 return h.initialized
192}
193
194// writeDirectly writes data directly to the response writer
195func (h *SSEHandlerCh) writeDirectly(data string, msgType SSEMessageType) error {

Callers 2

writeDirectlyMethod · 0.95
writeEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected