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

Function handleUpdateEnd

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

Source from the content-addressed store, hash-verified

2125 const sourceBuffer = ttsStreamingState.sourceBuffer
2126
2127 const handleUpdateEnd = () => {
2128 setTtsStreamingState((prevState) => ({
2129 ...prevState,
2130 isBuffering: false
2131 }))
2132 setTimeout(() => processChunkQueue(), 0)
2133 }
2134
2135 sourceBuffer.addEventListener('updateend', handleUpdateEnd)
2136

Callers

nothing calls this directly

Calls 1

processChunkQueueFunction · 0.85

Tested by

no test coverage detected