ring

package
v2.1.64 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue[T any] interface {
	Enqueue(value *T)
	Dequeue() (value *T, ok bool)
	Close()
}

func NewRandom

func NewRandom[T any](exponent int) Queue[T]

func NewSequence

func NewSequence[T any](exponent int) Queue[T]

Jump to

Keyboard shortcuts

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