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

Method Cap

channels.go:48–48  ·  view source on GitHub ↗

The number of elements currently buffered.

()

Source from the content-addressed store, hash-verified

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
51// SimpleInChannel is an interface representing a writeable channel that does not necessarily

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