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

Function cancel_chat

src-tauri/src/commands/chat.rs:45–48  ·  view source on GitHub ↗
(state: State<'_, AppState>, session_id: String)

Source from the content-addressed store, hash-verified

43
44#[tauri::command]
45pub async fn cancel_chat(state: State<'_, AppState>, session_id: String) -> AppResult<()> {
46 state.cancellations.cancel(&format!("chat:{session_id}"));
47 Ok(())
48}
49
50#[tauri::command]
51pub async fn generate_excalidraw(

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.80

Tested by

no test coverage detected