async

package
v0.0.0-...-d356c50 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPoolSize = 16
)

Variables

This section is empty.

Functions

func Call

func Call(f func())

func CallWithQueue

func CallWithQueue(qid int, f func())

Types

type Pool

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

func NewPool

func NewPool(n int) *Pool

func (*Pool) Call

func (p *Pool) Call(f func())

func (*Pool) CallWithQueue

func (p *Pool) CallWithQueue(qid int, f func())

Jump to

Keyboard shortcuts

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