Documentation / @super-line/core / ConnDescriptor
Interface: ConnDescriptor
Defined in: packages/core/src/adapter.ts:30
A serializable snapshot of a connection, shared cluster-wide via the PresenceStore.
Indexable
[
extra:string]:unknown
Extra fields contributed by the server's describeConn hook.
Properties
connectedAt
connectedAt:
number
Defined in: packages/core/src/adapter.ts:38
When the connection was accepted (Date.now()).
id
id:
string
Defined in: packages/core/src/adapter.ts:32
The connection's server-assigned id.
nodeId
nodeId:
string
Defined in: packages/core/src/adapter.ts:36
The node that holds this connection.
role
role:
string
Defined in: packages/core/src/adapter.ts:34
The connection's role.
rooms
rooms:
string[]
Defined in: packages/core/src/adapter.ts:42
Room memberships (topics and node-local lastPongAt are not included).
userId?
optionaluserId?:string
Defined in: packages/core/src/adapter.ts:40
The stable user key from the server's identify hook, if any.