Skip to main content
Version: v1

IContainerEvents Interface

Events emitted by the Container "upwards" to the Loader and Host

Signature

export interface IContainerEvents extends IEvent

Extends: IEvent

Call Signatures

CallSignature Description
(event: "readonly", listener: (readonly: boolean) => void): void
(event: "connected", listener: (clientId: string) => void): any
(event: "codeDetailsProposed", listener: (codeDetails: IFluidCodeDetails, proposal: ISequencedProposal) => void): any
(event: "contextChanged", listener: (codeDetails: IFluidCodeDetails) => void): any
(event: "disconnected" | "attached", listener: () => void): any
(event: "closed", listener: (error?: ICriticalContainerError) => void): any
(event: "warning", listener: (error: ContainerWarning) => void): any
(event: "op", listener: (message: ISequencedDocumentMessage) => void): any
(event: "dirty" | "saved", listener: (dirty: boolean) => void): any

Call Signature Details

(event: "readonly", listener: (readonly: boolean) => void): void

Signature

(event: "readonly", listener: (readonly: boolean) => void): void;

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

Signature

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

(event: "codeDetailsProposed", listener: (codeDetails: IFluidCodeDetails, proposal: ISequencedProposal) => void): any

Signature

(event: "codeDetailsProposed", listener: (codeDetails: IFluidCodeDetails, proposal: ISequencedProposal) => void): any;

(event: "contextChanged", listener: (codeDetails: IFluidCodeDetails) => void): any

Signature

(event: "contextChanged", listener: (codeDetails: IFluidCodeDetails) => void): any;

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

Signature

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

(event: "closed", listener: (error?: ICriticalContainerError) => void): any

Signature

(event: "closed", listener: (error?: ICriticalContainerError) => void): any;

(event: "warning", listener: (error: ContainerWarning) => void): any

Signature

(event: "warning", listener: (error: ContainerWarning) => void): any;

(event: "op", listener: (message: ISequencedDocumentMessage) => void): any

Signature

(event: "op", listener: (message: ISequencedDocumentMessage) => void): any;

(event: "dirty" | "saved", listener: (dirty: boolean) => void): any

Signature

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