parallel

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 []constraints.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 constraints.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