parallel

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serial

func Serial(parallelizable Interface, tasks, routines, window int) error

Types

type Interface

type Interface interface {
	ParallelDo(routine, task int) (interface{}, error)
	ParallelCollect(result *Result) error
}

type Result

type Result struct {
	Routine int
	Task    int
	Value   interface{}
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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