IConnectableRuntime Interface

Packages > @fluidframework/container-runtime > IConnectableRuntime

Signature:

export interface IConnectableRuntime 

Properties

List of properties of this interface
Property Type Description
clientId string | undefined
connected boolean

Methods

List of methods of this class
Method Description
on(event, listener)
once(event, listener)

Events

clientId

Signature:

readonly clientId: string | undefined;

connected

Signature:

readonly connected: boolean;

Methods

on

Signature:

on(event: "disconnected", listener: () => void): this;

Parameters

List of parameters
Parameter Type Description
event "disconnected"
listener () => void

Returns:

this

once

Signature:

once(event: "connected", listener: () => void): this;

Parameters

List of parameters
Parameter Type Description
event "connected"
listener () => void

Returns:

this