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

Method run_handle

core/src/agent_api/run_lifecycle.rs:129–138  ·  view source on GitHub ↗
(&self, run_id: String, session_id: String)

Source from the content-addressed store, hash-verified

127 }
128
129 fn run_handle(&self, run_id: String, session_id: String) -> crate::run::RunHandle {
130 crate::run::RunHandle::new(
131 run_id,
132 session_id,
133 Arc::clone(&self.run_store),
134 Arc::clone(&self.cancel_token),
135 Arc::clone(&self.current_run_id),
136 self.hook_executor.clone(),
137 )
138 }
139}
140
141pub(super) struct BlockingRunLifecycle {

Callers 2

start_runMethod · 0.80
current_runMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected