MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / handleTTSAbortAll

Function handleTTSAbortAll

packages/ui/src/views/chatmessage/ChatMessage.jsx:2116–2121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2114 }
2115
2116 const handleTTSAbortAll = async () => {
2117 const activeTTSMessages = Object.keys(isTTSLoading).concat(Object.keys(isTTSPlaying))
2118 for (const messageId of activeTTSMessages) {
2119 await ttsApi.abortTTS({ chatflowId: chatflowid, chatId, chatMessageId: messageId })
2120 }
2121 }
2122
2123 useEffect(() => {
2124 if (ttsStreamingState.sourceBuffer) {

Callers 2

handleAbortFunction · 0.85
handleTTSClickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected