MCPcopy Create free account
hub / github.com/enowdev/enowX-Coder / remove

Method remove

src-tauri/src/state.rs:79–83  ·  view source on GitHub ↗

Remove the token for the given key without cancelling it (cleanup after normal completion).

(&self, key: &str)

Source from the content-addressed store, hash-verified

77
78 /// Remove the token for the given key without cancelling it (cleanup after normal completion).
79 pub fn remove(&self, key: &str) {
80 if let Ok(mut map) = self.tokens.lock() {
81 map.remove(key);
82 }
83 }
84}
85
86#[derive(Clone)]

Callers 5

AppFunction · 0.80
respondMethod · 0.80
cancelMethod · 0.80
run_agentFunction · 0.80
send_messageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected