// GetTaskGenerator get TaskGenerator by name.
GetTaskGenerator get TaskGenerator by name.
// GetTaskGenerator get TaskGenerator by name .
func (t *TaskLoader) GetTaskGenerator(ctx context.Context, name string) (wfTypes.TaskGenerator, error) {
	templ, err := t.loadTemplate(ctx, name)
	if err != nil {
		return nil, err
	}
	return t.makeTaskGenerator(templ)
}
func ( t * TaskLoader ) GetTaskGenerator ( ctx context . Context , name string ) ( wfTypes . TaskGenerator , error ) { templ , err := t . loadTemplate ( ctx , name ) if err != nil { return nil , err } return t . makeTaskGenerator ( templ ) }
GetTaskGenerator get TaskGenerator by name.
GetTaskGenerator get TaskGenerator by name .