Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionCall ¶
type FunctionCall func() error
type FunctionQueue ¶
type FunctionQueue struct { Name string CallbackChannels []chan error DropCount int // contains filtered or unexported fields }
func NewFunctionQueue ¶
func NewFunctionQueue(name string) *FunctionQueue
func NewFunctionQueueWithSize ¶
func NewFunctionQueueWithSize(name string, size int) *FunctionQueue
func (*FunctionQueue) Enqueue ¶
func (fq *FunctionQueue) Enqueue(fn FunctionCall)
func (*FunctionQueue) Execute ¶
func (fq *FunctionQueue) Execute()
func (*FunctionQueue) RegisterCallback ¶
func (fq *FunctionQueue) RegisterCallback(callback chan error)
Click to show internal directories.
Click to hide internal directories.