MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_timeout

Method with_timeout

crates/opencode-mcp/src/client.rs:157–160  ·  view source on GitHub ↗
(mut self, timeout_ms: u64)

Source from the content-addressed store, hash-verified

155 }
156
157 pub fn with_timeout(mut self, timeout_ms: u64) -> Self {
158 self.timeout_ms = timeout_ms;
159 self
160 }
161
162 pub fn with_bus(mut self, bus: Arc<Bus>) -> Self {
163 self.bus = Some(bus);

Callers 4

add_stdioMethod · 0.80
add_httpMethod · 0.80
add_sseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected