property WSChatContextValue.markChatRead

Moves the read marker up to at, the time of the newest message seen. It zeroes unreadChatCount at once and sends the marker at most once a second. A marker set offline goes out with the next welcome.

Type

(at: Date) => void

Usage

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