MCPcopy Create free account
hub / github.com/vercel/examples / handleCancelTask

Function handleCancelTask

python/vibe-coding-ide/frontend/src/app/App.tsx:327–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 }
326
327 const handleCancelTask = () => {
328 // Cancel only if the latest run is the active thinking one
329 if (latestRunId && isThinking && !cancelling) {
330 cancelCurrentTask(latestRunId)
331 }
332 }
333
334 const handleNewChat = React.useCallback(() => {
335 const newThread = startNewChatThread(activeProjectId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected