Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue holds name, list of actions and context with cancel.
func (*Queue) AddAction ¶
func (q *Queue) AddAction(Action func())
AddAction sends Action to the channel.
func (*Queue) Addactions ¶
Addactions adds actions to the queue and cancels channel.
Click to show internal directories.
Click to hide internal directories.