MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_max_parallel_tasks

Method with_max_parallel_tasks

core/src/tools/task.rs:249–252  ·  view source on GitHub ↗
(mut self, max_parallel_tasks: usize)

Source from the content-addressed store, hash-verified

247 }
248
249 pub fn with_max_parallel_tasks(mut self, max_parallel_tasks: usize) -> Self {
250 self.max_parallel_tasks = max_parallel_tasks.max(1);
251 self
252 }
253
254 /// Share a tracker with this executor. When set, each task registers
255 /// a `CancellationToken` against the tracker so the parent session

Calls

no outgoing calls