@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
18 lines (16 loc) • 807 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { BrowserWindow } from 'electron';
import { ILogService } from '../../log/common/log.mjs';
import { IV8Profile } from '../common/profiling.mjs';
export declare class WindowProfiler {
private readonly _window;
private readonly _sessionId;
private readonly _logService;
constructor(_window: BrowserWindow, _sessionId: string, _logService: ILogService);
inspect(duration: number): Promise<IV8Profile>;
private _connect;
private _disconnect;
}