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

Method with_timeout

core/src/queue.rs:344–347  ·  view source on GitHub ↗

Set default timeout for commands

(mut self, timeout_ms: u64)

Source from the content-addressed store, hash-verified

342
343 /// Set default timeout for commands
344 pub fn with_timeout(mut self, timeout_ms: u64) -> Self {
345 self.default_timeout_ms = Some(timeout_ms);
346 self
347 }
348
349 /// Set persistent storage path
350 pub fn with_storage(mut self, path: impl Into<std::path::PathBuf>) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1