Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskChain ¶
type TaskChain struct {
// contains filtered or unexported fields
}
TaskChain manages a chain of tasks that have a parallel and serial part. The parallel part should be executed by the user specified callback and the serial part should be executed within the callback passed into the user specified callback.
func (*TaskChain) CreateTask ¶
func (c *TaskChain) CreateTask(cb TaskChainFunc) error
CreateTask creates a new task in the task chain.
Click to show internal directories.
Click to hide internal directories.