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

Function WithTaskService

internal/api/httpapi/server.go:181–185  ·  view source on GitHub ↗

WithTaskService injects the daemon-owned task service.

(service core.TaskService)

Source from the content-addressed store, hash-verified

179
180// WithTaskService injects the daemon-owned task service.
181func WithTaskService(service core.TaskService) Option {
182 return func(server *Server) {
183 server.tasks = service
184 }
185}
186
187// WithNetworkService injects the runtime network manager.
188func WithNetworkService(service core.NetworkService) Option {

Calls

no outgoing calls