MCPcopy
hub / github.com/socketio/socket.io / addChatTyping

Function addChatTyping

examples/chat/public/main.js:99–103  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

97
98 // Adds the visual chat typing message
99 const addChatTyping = (data) => {
100 data.typing = true;
101 data.message = 'is typing';
102 addChatMessage(data);
103 }
104
105 // Removes the visual chat typing message
106 const removeChatTyping = (data) => {

Callers 1

main.jsFile · 0.70

Calls 1

addChatMessageFunction · 0.70

Tested by

no test coverage detected