Skip to main content
Version: v1

ISummarizerRuntime Interface

Signature​

export interface ISummarizerRuntime extends IConnectableRuntime

Extends: IConnectableRuntime

Properties​

PropertyTypeDescription
loggerITelemetryLogger
summarizerClientIdstring | undefinedclientId of parent (non-summarizing) container that owns summarizer container

Methods​

MethodReturn TypeDescription
closeFn()void
on(event, listener)this
removeListener(event, listener)this

Property Details​

logger​

Signature​

readonly logger: ITelemetryLogger;

Type: ITelemetryLogger

summarizerClientId​

clientId of parent (non-summarizing) container that owns summarizer container

Signature​

readonly summarizerClientId: string | undefined;

Type: string | undefined

Method Details​

closeFn​

Signature​

closeFn(): void;

on​

Signature​

on(event: "batchEnd", listener: (error: any, op: ISequencedDocumentMessage) => void): this;

Parameters​

ParameterTypeDescription
event"batchEnd"
listener(error: any, op: ISequencedDocumentMessage) => void

Returns​

Return type: this

removeListener​

Signature​

removeListener(event: "batchEnd", listener: (error: any, op: ISequencedDocumentMessage) => void): this;

Parameters​

ParameterTypeDescription
event"batchEnd"
listener(error: any, op: ISequencedDocumentMessage) => void

Returns​

Return type: this