g

package
Version: v0.0.0-...-6b053b6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Go

type Go struct {
	ChanCb chan func()
	// contains filtered or unexported fields
}

one Go per goroutine (goroutine not safe)

func New

func New(l int) *Go

func (*Go) Cb

func (g *Go) Cb(cb func())

func (*Go) Close

func (g *Go) Close()

func (*Go) Go

func (g *Go) Go(f func(), cb func())

func (*Go) Idle

func (g *Go) Idle() bool

func (*Go) NewLinearContext

func (g *Go) NewLinearContext() *LinearContext

type LinearContext

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

func (*LinearContext) Go

func (c *LinearContext) Go(f func(), cb func())

type LinearGo

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

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