Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllFinishFun ¶
type AllFinishFun func()
type TaskChanFun ¶
type TaskChanFun func(ch1 chan interface{})
type TaskFinishFun ¶
type TaskFinishFun func(data interface{})
type Thread ¶
type Thread struct {
// contains filtered or unexported fields
}
func (*Thread) AddTaskChanFuns ¶
func (t *Thread) AddTaskChanFuns(fun TaskChanFun)
func (*Thread) AddTaskFuns ¶
func (*Thread) Start ¶
func (t *Thread) Start(taskCallback TaskFinishFun, allFinishCallback AllFinishFun)
func (*Thread) StartSync ¶
func (t *Thread) StartSync(taskCallback TaskFinishFun)
Click to show internal directories.
Click to hide internal directories.