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

Method taskObserver

internal/extension/host_api_tasks.go:481–489  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479}
480
481func (h *HostAPIHandler) taskObserver() (hostAPIObserver, error) {
482 if h == nil {
483 return nil, errors.New("extension: host api handler is required")
484 }
485 if h.observer == nil {
486 return nil, errors.New("extension: task observer is not configured")
487 }
488 return h.observer, nil
489}
490
491func (h *HostAPIHandler) taskManagerAndActor(ctx context.Context) (hostAPITaskManager, taskpkg.ActorContext, error) {
492 manager, err := h.taskManager()

Calls

no outgoing calls