IConnection Interface
Packages > fluid-framework > IConnection
Base interface for information for each connection made to the Fluid session. This interface can be extended to provide additional information specific to each service.
Signature:
export interface IConnection
Properties
Property | Type | Description |
---|---|---|
id | A unique ID for the connection. A single user may have multiple connections, each with a different ID. | |
mode | Whether the connection is in read or read/write mode. |
Events
id
A unique ID for the connection. A single user may have multiple connections, each with a different ID.
Signature:
id: string;
mode
Whether the connection is in read or read/write mode.
Signature:
mode: "write" | "read";