type alias WebSocketReadyState
Since 0.2.0

Lifecycle state of a WebSocket, normalized across runtimes to names rather than the numeric codes the web API uses.

Definition

"connecting" | "open" | "closing" | "closed"

Usage

import { type WebSocketReadyState } from "common/src/index.ts";