task

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskPool

type TaskPool struct {
	Max int
	// contains filtered or unexported fields
}

func NewTaskPool

func NewTaskPool(max int, handler func(*TaskPool)) *TaskPool

func (*TaskPool) Add

func (t *TaskPool) Add(i int)

func (*TaskPool) Done

func (t *TaskPool) Done()

func (*TaskPool) Run

func (t *TaskPool) Run()

Jump to

Keyboard shortcuts

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