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

Method ClaimNextRun

internal/task/interfaces.go:61–61  ·  view source on GitHub ↗
(ctx context.Context, criteria ClaimCriteria, actor ActorContext)

Source from the content-addressed store, hash-verified

59
60 EnqueueRun(ctx context.Context, spec EnqueueRun, actor ActorContext) (*Run, error)
61 ClaimNextRun(ctx context.Context, criteria ClaimCriteria, actor ActorContext) (*ClaimResult, error)
62 ClaimRun(ctx context.Context, runID string, claim ClaimRun, actor ActorContext) (*Run, error)
63 StartRun(ctx context.Context, runID string, req StartRun, actor ActorContext) (*Run, error)
64 AttachRunSession(ctx context.Context, runID string, sessionID string, actor ActorContext) (*Run, error)

Implementers 2

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

Calls

no outgoing calls