queue

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoubleBufferQueue

type DoubleBufferQueue = DoubleBufferQueueG[byte]

type DoubleBufferQueueG

type DoubleBufferQueueG[T any] interface {
	Write(p []T) (int, error)
	Read(p []T) (int, error)
	io.Closer
}

func NewDoubleBufferQueue

func NewDoubleBufferQueue[T any](ctx context.Context, initialSize int, swapInterval time.Duration) DoubleBufferQueueG[T]

Jump to

Keyboard shortcuts

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