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

Method set_timeout

sdk/python/src/lib.rs:5747–5749  ·  view source on GitHub ↗

Set default timeout for commands (ms).

(&mut self, timeout_ms: u64)

Source from the content-addressed store, hash-verified

5745
5746 /// Set default timeout for commands (ms).
5747 fn set_timeout(&mut self, timeout_ms: u64) {
5748 self.inner = self.inner.clone().with_timeout(timeout_ms);
5749 }
5750
5751 /// Configure how a specific lane handles tasks.
5752 ///

Callers 1

executeMethod · 0.80

Calls 2

with_timeoutMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected