MCPcopy Create free account
hub / github.com/astercloud/aster / NewTaskExecutor

Function NewTaskExecutor

pkg/tools/builtin/task_executor.go:47–51  ·  view source on GitHub ↗

NewTaskExecutor 创建任务执行器

()

Source from the content-addressed store, hash-verified

45
46// NewTaskExecutor 创建任务执行器
47func NewTaskExecutor() *TaskExecutor {
48 return &TaskExecutor{
49 tasks: make(map[string]*TaskExecution),
50 }
51}
52
53// SetExecutorFactory 设置执行器工厂
54func (te *TaskExecutor) SetExecutorFactory(factory SubAgentExecutorFactory) {

Callers 1

GetGlobalTaskExecutorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected