syncgroup

package
v0.0.0-...-ae8e89f Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterFn

type FilterFn func(err error) error

type Group

type Group interface {
	Go(fn func() error)
	Wait() error
}

func New

func New(ctx context.Context, opts ...Option) (Group, context.Context)

type Option

type Option func(group *groupImpl)

func WithFilter

func WithFilter(filter FilterFn) Option

func WithThrottling

func WithThrottling(limit int) Option

Jump to

Keyboard shortcuts

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