joque

package
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.

Jump to

Keyboard shortcuts

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