g

package
v1.1.44 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 5 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
}

Go 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
}

Jump to

Keyboard shortcuts

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