@microsoft/compose-language-service
Version:
Language service for Docker Compose documents
18 lines (17 loc) • 847 B
TypeScript
/*!--------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { Connection, Disposable } from 'vscode-languageserver';
import { type TelemetryEvent } from '../../../common/TelemetryEvent';
export declare class TelemetryAggregator implements Disposable {
private readonly connection;
private readonly interval;
private eventBuffer;
private readonly timer;
constructor(connection: Connection, interval?: number);
dispose(): void;
logEvent(event: TelemetryEvent): void;
private flush;
private getAggregatedEvents;
}