Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NoRetry always returns false independently of the number of retries. NoRetry = func(int) bool { return false } )
Functions ¶
This section is empty.
Types ¶
type FunctionQueue ¶
type FunctionQueue struct {
// contains filtered or unexported fields
}
func NewFunctionQueue ¶
func NewFunctionQueue(queueSize uint) *FunctionQueue
NewFunctionQueue returns a FunctionQueue that will be used to execute functions in the same order they are enqueued.