sussudio
Version:
An unofficial VS Code Internal API
25 lines (24 loc) • 1.54 kB
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 { Event } from "../../../base/common/event.mjs";
import { Disposable } from "../../../base/common/lifecycle.mjs";
import { IServerChannel } from "../../../base/parts/ipc/common/ipc.mjs";
import { ILogService } from "../../log/common/log.mjs";
import { IBaseSerializableStorageRequest } from "../../storage/common/storageIpc.mjs";
import { IStorageMainService } from "../../storage/electron-main/storageMainService.mjs";
import { IUserDataProfilesService } from "../common/userDataProfile.mjs";
export declare class ProfileStorageChangesListenerChannel extends Disposable implements IServerChannel {
private readonly storageMainService;
private readonly userDataProfilesService;
private readonly logService;
private readonly _onDidChange;
constructor(storageMainService: IStorageMainService, userDataProfilesService: IUserDataProfilesService, logService: ILogService);
private registerStorageChangeListeners;
private onDidChangeApplicationStorage;
private onDidChangeProfileStorage;
private triggerEvents;
listen(_: unknown, event: string, arg: IBaseSerializableStorageRequest): Event<any>;
call(_: unknown, command: string): Promise<any>;
}