MCPcopy
hub / github.com/cloudflare/cloudflared / newBiStreamStatus

Function newBiStreamStatus

stream/stream.go:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func newBiStreamStatus() *bidirectionalStreamStatus {
54 return &bidirectionalStreamStatus{
55 doneChan: make(chan struct{}, 2),
56 anyDone: 0,
57 }
58}
59
60func (s *bidirectionalStreamStatus) markUniStreamDone() {
61 atomic.StoreUint32(&s.anyDone, 1)

Callers 1

PipeBidirectionalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected