dstructs

package
v0.0.0-...-570c91f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlQueue

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

FlQueue is a manual-flush queue that is thread-safe.

func NewFlQueue

func NewFlQueue[T any]() *FlQueue[T]

func (*FlQueue[T]) Flush

func (m *FlQueue[T]) Flush() []T

func (*FlQueue[T]) Push

func (m *FlQueue[T]) Push(r T)

Jump to

Keyboard shortcuts

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