hashqueue

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package hashqueue provides a serialisation function call execution mechanism.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group[K comparable] struct {
	// contains filtered or unexported fields
}

func (*Group[K]) Do

func (g *Group[K]) Do(key K, f func() error) error

func (*Group[K]) DoChan

func (g *Group[K]) DoChan(key K, f func() error) <-chan error

func (*Group[K]) TryDo

func (g *Group[K]) TryDo(key K, f func() error) (error, bool)

Jump to

Keyboard shortcuts

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