circular

package
v0.0.0-...-1fb8944 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 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 Buffer

type Buffer[T any] struct {
	// contains filtered or unexported fields
}

func NewBuffer

func NewBuffer[T any](n int) *Buffer[T]

func (*Buffer[T]) LoadOrWait

func (b *Buffer[T]) LoadOrWait() T

func (*Buffer[T]) Store

func (b *Buffer[T]) Store(v T)

Jump to

Keyboard shortcuts

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