MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / next_id

Method next_id

crates/opencode-plugin/src/subprocess/client.rs:418–420  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

416 // -- Transport (Content-Length framing) ----------------------------------
417
418 fn next_id(&self) -> u64 {
419 self.request_id.fetch_add(1, Ordering::Relaxed)
420 }
421
422 /// Send a JSON-RPC request and wait for the response.
423 async fn call<T: serde::de::DeserializeOwned>(

Callers 2

auth_fetch_streamMethod · 0.45
callMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected