parallel

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(tasks []types.FuncWithErr) error

Types

type Parallel

type Parallel struct {
	// contains filtered or unexported fields
}

func New

func New(workNum int) *Parallel

func (*Parallel) AddTask

func (p *Parallel) AddTask(task types.FuncWithErr)

func (*Parallel) Run

func (p *Parallel) Run()

func (*Parallel) Wait

func (p *Parallel) Wait()

Jump to

Keyboard shortcuts

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