funcqueue

package
v0.0.0-...-58e94d5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoRetry

func NoRetry(int) bool

Types

type FuncQueue

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

func NewFunctionQueue

func NewFunctionQueue(maxLenght int32) *FuncQueue

func (*FuncQueue) Enqueue

func (self *FuncQueue) Enqueue(f func() error, waitFunc WaitFunc)

func (*FuncQueue) Stop

func (self *FuncQueue) Stop()

type WaitFunc

type WaitFunc func(nRetries int) bool

Jump to

Keyboard shortcuts

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