MCPcopy Create free account
hub / github.com/coder/aibridge / IsStreaming

Method IsStreaming

intercept/eventstream/eventstream.go:204–206  ·  view source on GitHub ↗

IsStreaming checks if the stream has been initiated, or when events are buffered which - when processed - will initiate the stream.

()

Source from the content-addressed store, hash-verified

202// IsStreaming checks if the stream has been initiated, or
203// when events are buffered which - when processed - will initiate the stream.
204func (s *EventStream) IsStreaming() bool {
205 return s.initiated.Load() || len(s.eventsCh) > 0
206}
207
208// IsConnError checks if an error is related to client disconnection or context cancellation.
209func IsConnError(err error) bool {

Callers 3

ProcessRequestMethod · 0.95
ProcessRequestMethod · 0.95
ProcessRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected