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

Method peek

internal/transport/controlbuf.go:71–73  ·  view source on GitHub ↗

peek returns the first item in the list without removing it from the list.

()

Source from the content-addressed store, hash-verified

69// peek returns the first item in the list without removing it from the
70// list.
71func (il *itemList) peek() any {
72 return il.head.it
73}
74
75func (il *itemList) dequeue() any {
76 if il.head == nil {

Callers 2

processDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected