parallel

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParallelGroup

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

func GroupUp

func GroupUp(fns ...interface{}) *ParallelGroup

GroupUp initializes a new ParallelGroup with the given functions.

func (*ParallelGroup) AwaitResult

func (pg *ParallelGroup) AwaitResult() [][]interface{}

AwaitResult waits for all functions to complete and returns their results.

func (*ParallelGroup) Run

func (pg *ParallelGroup) Run() *ParallelGroup

Run starts the execution of all functions in parallel goroutines.

Jump to

Keyboard shortcuts

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