pool

package
v0.0.63-rc41 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job func() error

type Pool

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

func NewPool

func NewPool(count int) *Pool

func (*Pool) Call

func (a *Pool) Call(job Job) error

func (*Pool) Cancel

func (a *Pool) Cancel()

Jump to

Keyboard shortcuts

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