pool

package
v0.0.0-...-ac72f74 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 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 Processing

type Processing[E any] struct {
	// contains filtered or unexported fields
}

func New

func New[E any](pool processing.Processing) *Processing[E]

func (*Processing[E]) Execute

func (p *Processing[E]) Execute(elem E, runner Runner[E])

func (*Processing[E]) Wait

func (p *Processing[E]) Wait()

type Runner

type Runner[E any] func(ctx context.Context, pool *Processing[E], elem E)

Jump to

Keyboard shortcuts

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