joque

package
Version: v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(maxQueueSize int, maxWorkers int) chan Job

Setup creates and returns a job queue, and starts a dispatcher to process the queue

Types

type Job

type Job func()

Job is a unit of work to be processed by the job dispatcher.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL