property WSChatContextValue.setChatTyping

Tells the server whether the user is typing, when the socket is open. ChatModal resends true every few seconds while typing continues, since the server forgets a typer after 6 s.

Type

(typing: boolean) => void

Usage

import { type WSChatContextValue } from "src/contexts/ws/WSContext.ts";