parallel

package
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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 []funcs.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 funcs.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