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

Method CreateTask

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

Source from the content-addressed store, hash-verified

9// Manager is the task-domain authority for task and run lifecycle operations.
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)

Implementers 2

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

Calls

no outgoing calls