Register a cattle-style worker with this session's task delegation registry.
(mut self, spec: WorkerAgentSpec)
| 83 | |
| 84 | /// Register a cattle-style worker with this session's task delegation registry. |
| 85 | pub fn with_worker_agent(mut self, spec: WorkerAgentSpec) -> Self { |
| 86 | self.worker_agents.push(spec); |
| 87 | self |
| 88 | } |
| 89 | |
| 90 | /// Register multiple cattle-style workers with this session. |
| 91 | pub fn with_worker_agents<I>(mut self, specs: I) -> Self |
no outgoing calls