method RoomRegistry.prototype.get
RoomRegistry.prototype.get(name: string): Room

Returns the named room, creating it on first use.

Parameters

name: string

Room name

Return Type

The room

Usage

import { RoomRegistry } from "websocket-plugin/src/index.ts";