MCPcopy Create free account
hub / github.com/compozy/agh / CreateChildTask

Method CreateChildTask

internal/task/interfaces.go:12–12  ·  view source on GitHub ↗
(ctx context.Context, parentTaskID string, spec CreateTask, actor ActorContext)

Source from the content-addressed store, hash-verified

10type Manager interface {
11 CreateTask(ctx context.Context, spec CreateTask, actor ActorContext) (*Task, error)
12 CreateChildTask(ctx context.Context, parentTaskID string, spec CreateTask, actor ActorContext) (*Task, error)
13 DeleteTask(ctx context.Context, id string, actor ActorContext) error
14 UpdateTask(ctx context.Context, id string, patch Patch, actor ActorContext) (*Task, error)
15 PublishTask(ctx context.Context, id string, req ExecutionRequest, actor ActorContext) (*Execution, error)

Implementers 2

Serviceinternal/task/manager.go
StubTaskManagerinternal/api/testutil/task_stub.go

Calls

no outgoing calls