Skip to content

Documentation / @super-line/server / LocalView

Interface: LocalView

Defined in: index.ts:139

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

Properties

connections

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

Defined in: index.ts:141

Snapshot of all connections accepted on this node.


rooms

readonly rooms: string[]

Defined in: index.ts:143

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


topics

readonly topics: string[]

Defined in: index.ts:145

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

Released under the MIT License.