MCPcopy Create free account
hub / github.com/GCWing/BitFun / cancel

Method cancel

src/crates/execution/agent-runtime/src/tool_confirmation.rs:108–110  ·  view source on GitHub ↗
(&self, tool_id: &str)

Source from the content-addressed store, hash-verified

106 }
107
108 pub fn cancel(&self, tool_id: &str) -> bool {
109 self.channels.remove(tool_id).is_some()
110 }
111
112 pub fn has_pending(&self, tool_id: &str) -> bool {
113 self.channels.contains_key(tool_id)

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected