Method
delegate_task
(&self, options: DelegateTaskOptions)
Source from the content-addressed store, hash-verified
| 3677 | /// Delegate a bounded task to a child agent through the built-in `task` tool. |
| 3678 | #[napi(ts_args_type = "options: DelegateTaskOptions")] |
| 3679 | pub async fn delegate_task(&self, options: DelegateTaskOptions) -> napi::Result<ToolResult> { |
| 3680 | self.task(options).await |
| 3681 | } |
| 3682 | |
| 3683 | /// Execute several delegated child-agent tasks concurrently through `parallel_task`. |
| 3684 | #[napi(ts_args_type = "tasks: DelegateTaskOptions[]")] |
Callers
nothing calls this directly
Tested by
no test coverage detected