MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / userStartsTyping

Function userStartsTyping

apps/web/ui/Thread/UsersTyping.tsx:56–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 let typingTimer: NodeJS.Timeout;
55
56 const userStartsTyping = function () {
57 if (isUserTyping) {
58 return;
59 }
60 setUserTyping(true);
61 userTyping({ typing: true, username: currentUser?.displayName! });
62 };
63
64 const userStopsTyping = function () {
65 clearTimeout(typingTimer);

Callers 1

onKeyDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected