MCPcopy Create free account
hub / github.com/eapache/channels / Len

Method Len

channels.go:47–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45// Even unbuffered channels can implement this interface by simply returning 0 from Len() and None from Cap().
46type Buffer interface {
47 Len() int // The number of elements currently buffered.
48 Cap() BufferCap // The maximum number of elements that can be buffered.
49}
50

Callers 1

Implementers 8

InfiniteChannelinfinite_channel.go
OverflowingChanneloverflowing_channel.go
DeadChannelnative_channel.go
SharedBuffershared_buffer.go
RingChannelring_channel.go
ResizableChannelresizable_channel.go
BatchingChannelbatching_channel.go
BlackHoleblack_hole.go

Calls

no outgoing calls

Tested by 1