MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / isMessageStreamingInDOM

Method isMessageStreamingInDOM

chat/components/ChatArea.js:892–900  ·  view source on GitHub ↗

* Checks whether a message is actively streaming in the current DOM. * @param {string} messageId - The message ID * @returns {boolean} True when the DOM is still in a streaming state

(messageId)

Source from the content-addressed store, hash-verified

890 }
891
892 /**
893 * Immediately renders the empty state without async loads.
894 * Desktop hooks can call this to avoid intermediate flashes.
895 */
896 renderEmptyStateImmediate() {
897 const messagesContainer = this.app.elements.messagesContainer;
898 if (!messagesContainer) return;
899 messagesContainer.innerHTML = buildEmptyState();
900 this.attachDownloadHandler();
901 }
902
903 /**

Callers 3

setupEventListenersMethod · 0.95
handleCopyMessageMethod · 0.95
handleCopyCodeBlockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected