MCPcopy
hub / github.com/grpc/grpc-go / NewUnbounded

Function NewUnbounded

internal/buffer/unbounded.go:48–50  ·  view source on GitHub ↗

NewUnbounded returns a new instance of Unbounded.

()

Source from the content-addressed store, hash-verified

46
47// NewUnbounded returns a new instance of Unbounded.
48func NewUnbounded() *Unbounded {
49 return &Unbounded{c: make(chan any, 1)}
50}
51
52var errBufferClosed = errors.New("Put called on closed buffer.Unbounded")
53

Callers 9

BuildMethod · 0.92
NewCallbackSerializerFunction · 0.92
BuildMethod · 0.92
BuildMethod · 0.92
TestSingleWriterMethod · 0.70
TestMultipleWritersMethod · 0.70
TestCloseMethod · 0.70

Calls

no outgoing calls