Skip to content

Documentation / @super-line/server / LocalView

Interface: LocalView

Defined in: index.ts:219

Synchronous, node-local introspection of the current server process.

Properties

connections

readonly connections: Conn<Record<string, ServerMessageDef>, unknown, string, unknown, unknown>[]

Defined in: index.ts:221

Snapshot of all connections accepted on this node.


rooms

readonly rooms: string[]

Defined in: index.ts:223

Names of rooms with at least one member on this node.


topics

readonly topics: string[]

Defined in: index.ts:225

Names of topics with at least one subscriber on this node.

Released under the MIT License.