Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FIFO ¶
type FIFO[T any] struct { // contains filtered or unexported fields }
FIFO implements a first-in-first-out queue with unbounded size. The null FIFO is a valid empty queue.
Access must be protected by the caller when used concurrently by different goroutines, the queue itself implements no locking.
Click to show internal directories.
Click to hide internal directories.