MCPcopy Create free account
hub / github.com/tendermint/tendermint / newFIFOQueue

Function newFIFOQueue

internal/p2p/queue.go:38–43  ·  view source on GitHub ↗
(size int)

Source from the content-addressed store, hash-verified

36}
37
38func newFIFOQueue(size int) queue {
39 return &fifoQueue{
40 queueCh: make(chan Envelope, size),
41 closer: tmsync.NewCloser(),
42 }
43}
44
45func (q *fifoQueue) enqueue() chan<- Envelope {
46 return q.queueCh

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…