package linkedbuffer

Import Path
	github.com/alitto/pond/v2/internal/linkedbuffer (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package

Involved Source Files buffer.go linkedbuffer.go
Package-Level Type Names (only one)
/* sort by: | */
Type Parameters: T: any LinkedBuffer implements an unbounded generic buffer that can be written to and read from concurrently. It is implemented using a linked list of buffers. Len returns the number of elements in the buffer that haven't yet been read Read reads values from the buffer and returns the number of elements read ReadCount returns the number of elements read from the buffer since it was created Write writes values to the buffer WriteCount returns the number of elements written to the buffer since it was created func NewLinkedBuffer[T](initialCapacity, maxCapacity int) *LinkedBuffer[T]
Package-Level Functions (only one)
Type Parameters: T: any
Package-Level Variables (only one)