Create an agent definition from a disposable worker recipe.
(spec: WorkerAgentSpec)
| 448 | |
| 449 | /// Create an agent definition from a disposable worker recipe. |
| 450 | pub fn worker(spec: WorkerAgentSpec) -> Self { |
| 451 | spec.into_agent_definition() |
| 452 | } |
| 453 | |
| 454 | /// Mark as native (built-in) |
| 455 | pub fn native(mut self) -> Self { |
nothing calls this directly
no test coverage detected