Skip to content

Type Alias: TransportState ​

ts
type TransportState = "idle" | "connecting" | "open" | "closed";

Where a Transport's socket is. A transport moves bytes, not frames: it needs to know nothing of the protocol.

Talkline documentation