property PendingChatMessage.status

failed when the server refused it, the socket was down or closed, or no echo came in 10 s. A failed message may still have reached the server.

Type

"sending" | "failed"

Usage

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