Skip to main content
Version: v1

IDocumentDeltaConnectionEvents Interface

Signature

export interface IDocumentDeltaConnectionEvents extends IErrorEvent

Extends: IErrorEvent

Call Signatures

CallSignature Description
(event: "nack", listener: (documentId: string, message: INack[]) => void): any
(event: "disconnect", listener: (reason: any) => void): any
(event: "op", listener: (documentId: string, messages: ISequencedDocumentMessage[]) => void): any
(event: "signal", listener: (message: ISignalMessage) => void): any
(event: "pong", listener: (latency: number) => void): any
(event: "error", listener: (error: any) => void): any

Call Signature Details

(event: "nack", listener: (documentId: string, message: INack[]) => void): any

Signature

(event: "nack", listener: (documentId: string, message: INack[]) => void): any;

(event: "disconnect", listener: (reason: any) => void): any

Signature

(event: "disconnect", listener: (reason: any) => void): any;

(event: "op", listener: (documentId: string, messages: ISequencedDocumentMessage[]) => void): any

Signature

(event: "op", listener: (documentId: string, messages: ISequencedDocumentMessage[]) => void): any;

(event: "signal", listener: (message: ISignalMessage) => void): any

Signature

(event: "signal", listener: (message: ISignalMessage) => void): any;

(event: "pong", listener: (latency: number) => void): any

Signature

(event: "pong", listener: (latency: number) => void): any;

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

Signature

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