RoomMembershipListener.onJoin(conn: IWebSocketConnection): void
Called when a connection is added to a room it was not already in.
conn: IWebSocketConnection
The joining connection
RoomMembershipListener.onJoin(conn: IWebSocketConnection): void
Called when a connection is added to a room it was not already in.
conn: IWebSocketConnection
The joining connection
import { type RoomMembershipListener } from "websocket-plugin/src/index.ts";