MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / Execute

Method Execute

go/engine/function_test.go:33–40  ·  view source on GitHub ↗
(_ context.Context, s *Scope)

Source from the content-addressed store, hash-verified

31 outputs map[string]workflowapi.DataType
32}
33
34func (a *fakeAction) ID() string { return a.id }
35func (a *fakeAction) AddTransition(string, Transition) error { return nil }
36func (a *fakeAction) Outputs() map[string]workflowapi.DataType { return a.outputs }
37func (a *fakeAction) Execute(_ context.Context, s *Scope) (string, error) {
38 if a.run != nil {
39 if err := a.run(s); err != nil {
40 return "", err
41 }
42 }
43 return a.next, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected