property WSContextValue.connectionEpoch

Tells pages to fetch again what they missed while the socket was down. It goes up on each reconnect, never on the first connection.

Type

number

Usage

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