Skip to main content
Version: v1

IMember Interface

Base interface to be implemented to fetch each service's member. This interface can be extended by each service to provide additional service-specific user metadata.

Signature​

export interface IMember

Properties​

PropertyTypeDescription
connectionsIConnection[]The set of connections the user has made, e.g. from multiple tabs or devices.
userIdstringAn ID for the user, unique among each individual user connecting to the session.

Property Details​

connections​

The set of connections the user has made, e.g. from multiple tabs or devices.

Signature​

connections: IConnection[];

Type: IConnection[]

userId​

An ID for the user, unique among each individual user connecting to the session.

Signature​

userId: string;

Type: string