src/vs/platform/telemetry/common/serverTelemetryService.ts/ServerTelemetryService/flushTelemetryCache
class ServerTelemetryService:	async flushTelemetryCache(): Promise<void> {
		if (this._telemetryCache?.length === 0) {
			return;
		}
		for (const cacheItem of this._telemetryCache) {
			if (cacheItem.eventType === 'usage') {
				await this.publicLog(cacheItem.eventName, cacheItem.data, cacheItem.anonymizeFilePaths);
			} else {
				await this.publicLogError(cacheItem.eventName, cacheItem.data);
			}
		}
		this._telemetryCache = [];
	}