Skip to content

Documentation / @super-line/server / LocalView

Interface: LocalView ​

Defined in: index.ts:224

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:226

Snapshot of all connections accepted on this node.


rooms ​

readonly rooms: string[]

Defined in: index.ts:228

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


topics ​

readonly topics: string[]

Defined in: index.ts:230

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

Released under the MIT License.