queue

package
v3.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 2 Imported by: 0

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
}

func NewFifo

func NewFifo[T any](maxLength int) Fifo[T]

func (*Fifo[T]) Dequeue

func (q *Fifo[T]) Dequeue() (value T, ok bool)

func (*Fifo[T]) Enqueue

func (q *Fifo[T]) Enqueue(value T)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL