runners

package
v0.0.0-...-0fadc07 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parallel

func Parallel(maxConcurrency int, fs ...Func) error

Parallel runs the given functions in parallel, using the given maxConcurrency if > 0.

Types

type Func

type Func func() error

Func describes a runnable function.

func Safe

func Safe(f Func) Func

Safe runs the given Func, catching any panics and returning them as errors.

Directories

Path Synopsis
runnersmocks
Package runnersmocks is a generated GoMock package.
Package runnersmocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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