parallel

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, exitWait time.Duration, runner ...func(ctx context.Context) error) error

Types

type Prob

type Prob struct {
}

type Runner

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

func (*Runner) ActualStatus

func (p *Runner) ActualStatus()

func (*Runner) ExpectStatus

func (p *Runner) ExpectStatus()

func (*Runner) Fork

func (p *Runner) Fork(parallel *Runner)

func (*Runner) ForkGroup

func (p *Runner) ForkGroup(coupled bool, runner ...func(ctx context.Context) error)

func (*Runner) Stop

func (p *Runner) Stop()

Jump to

Keyboard shortcuts

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