WebSocketEventSink.onClose(event: WebSocketCloseEvent): void
Called once, when the socket closes for any reason.
event: WebSocketCloseEvent
The close code and reason
WebSocketEventSink.onClose(event: WebSocketCloseEvent): void
Called once, when the socket closes for any reason.
event: WebSocketCloseEvent
The close code and reason
import { type WebSocketEventSink } from "common/src/index.ts";