func ToTaskN(onEnd OnEndFunc, job JobIndexed, args ...interface{}) *Task {
	return &Task{
		Job:      job,
		subIndex: 0,
		args:     args,
		onEnd:    onEnd,
		result:   nil,
		err:      nil,
	}
}
// ToTaskN wrap Task with JobIndexed struct and args, and OnEndFunc
ToTaskN wrap Task with JobIndexed struct and args, and OnEndFunc
// ToTaskN wrap Task with JobIndexed struct and args and OnEndFunc
func ToTaskN(onEnd OnEndFunc, job JobIndexed, args ...interface{}) *Task {
	return &Task{
		Job:      job,
		subIndex: 0,
		args:     args,
		onEnd:    onEnd,
		result:   nil,
		err:      nil,
	}
}
func ToTaskN ( onEnd OnEndFunc , job JobIndexed , args ... interface { } ) * Task { return & Task { Job : job , subIndex : 0 , args : args , onEnd : onEnd , result : nil , err : nil , } }
ToTaskN wrap Task with JobIndexed struct and args, and OnEndFunc
ToTaskN wrap Task with JobIndexed struct and args and OnEndFunc