Skip to main content

IContainerRuntimeBaseEvents Interface

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

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

Extends: IEvent

Call Signatures

CallSignature Alerts Description
(event: "batchBegin", listener: (op: Omit<ISequencedDocumentMessage, "contents">) => void): any Alpha Indicates the beginning of an incoming batch of ops
(event: "batchEnd", listener: (error: any, op: Omit<ISequencedDocumentMessage, "contents">) => void): any Alpha Indicates the end of an incoming batch of ops
(event: "op", listener: (op: ISequencedDocumentMessage, runtimeMessage?: boolean) => void): any Alpha Indicates that an incoming op has been processed.
(event: "signal", listener: (message: IInboundSignalMessage, local: boolean) => void): any Alpha
(event: "dispose", listener: () => void): any Alpha

Call Signature Details

(event: "batchBegin", listener: (op: Omit<ISequencedDocumentMessage, "contents">) => void): any

Indicates the beginning of an incoming batch of ops

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

(event: "batchBegin", listener: (op: Omit<ISequencedDocumentMessage, "contents">) => void): any;

(event: "batchEnd", listener: (error: any, op: Omit<ISequencedDocumentMessage, "contents">) => void): any

Indicates the end of an incoming batch of ops

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

(event: "batchEnd", listener: (error: any, op: Omit<ISequencedDocumentMessage, "contents">) => void): any;

(event: "op", listener: (op: ISequencedDocumentMessage, runtimeMessage?: boolean) => void): any

Indicates that an incoming op has been processed.

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

(event: "op", listener: (op: ISequencedDocumentMessage, runtimeMessage?: boolean) => void): any;

(event: "signal", listener: (message: IInboundSignalMessage, local: boolean) => void): any

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

(event: "signal", listener: (message: IInboundSignalMessage, local: boolean) => void): any;

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

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

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