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

Function defaultTaskRunHooks

internal/task/hooks.go:160–165  ·  view source on GitHub ↗
(hooks RunHookDispatcher)

Source from the content-addressed store, hash-verified

158}
159
160func defaultTaskRunHooks(hooks RunHookDispatcher) RunHookDispatcher {
161 if hooks != nil {
162 return hooks
163 }
164 return noopTaskRunHooks{}
165}
166
167func taskRunObservationHookContext(ctx context.Context) context.Context {
168 if ctx == nil {

Callers 1

NewManagerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected