batch

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch[B any] struct {
	// contains filtered or unexported fields
}

func New

func New[B any](ctx context.Context) (*Batch[B], context.Context)

func (*Batch[B]) Go

func (b *Batch[B]) Go(fn func() (B, error))

func (*Batch[B]) Size

func (b *Batch[B]) Size() int

func (*Batch[B]) Wait

func (b *Batch[B]) Wait() ([]B, error)

Jump to

Keyboard shortcuts

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