executor

package
v0.0.0-...-68fea93 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const QueueInfiniteSize = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type Concurrent

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

func NewConcurrent

func NewConcurrent() *Concurrent

func (*Concurrent) Close

func (c *Concurrent) Close()

func (*Concurrent) Execute

func (c *Concurrent) Execute(f func())

type Queue

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

func NewQueue

func NewQueue() *Queue

func NewQueueSize

func NewQueueSize(size int) *Queue

func (*Queue) Close

func (q *Queue) Close()

func (*Queue) Execute

func (q *Queue) Execute(f func())

Jump to

Keyboard shortcuts

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