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

Method cancel_current

core/src/agent_api/session_runs.rs:17–19  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

15 }
16
17 pub(super) async fn cancel_current(&self) -> bool {
18 RunControlState::from_session(self.session).cancel().await
19 }
20
21 pub(super) async fn cancel_run(&self, run_id: &str) -> bool {
22 RunControlState::from_session(self.session)

Callers 1

cancelMethod · 0.80

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected