IContainerRuntimeEvents Interface

Packages > @fluidframework/container-runtime-definitions > IContainerRuntimeEvents

Events emitted by IContainerRuntime .

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-runtime-definitions/legacy.

For more information about our API support guarantees, see here .

Signature

/** @sealed */
export interface IContainerRuntimeEvents extends IContainerRuntimeBaseEvents

Extends: IContainerRuntimeBaseEvents

Call Signatures

CallSignature Alerts Description
(event: "dirty" | "disconnected" | "saved" | "attached", listener: () => void): any Alpha
(event: "connected", listener: (clientId: string) => void): any Alpha

Call Signature Details

(event: “dirty” | “disconnected” | “saved” | “attached”, listener: () => void): any

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-runtime-definitions/alpha.

For more information about our API support guarantees, see here .

Signature

(event: "dirty" | "disconnected" | "saved" | "attached", listener: () => void): any;

(event: “connected”, listener: (clientId: string) => void): any

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-runtime-definitions/alpha.

For more information about our API support guarantees, see here .

Signature

(event: "connected", listener: (clientId: string) => void): any;