sussudio
Version:
An unofficial VS Code Internal API
17 lines (16 loc) • 933 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 { Event } from "../../../base/common/event.mjs";
import { IDisposable } from "../../../base/common/lifecycle.mjs";
import { IProcessDataEvent } from "./terminal.mjs";
export declare class TerminalDataBufferer implements IDisposable {
private readonly _callback;
private readonly _terminalBufferMap;
constructor(_callback: (id: number, data: string) => void);
dispose(): void;
startBuffering(id: number, event: Event<string | IProcessDataEvent>, throttleBy?: number): IDisposable;
stopBuffering(id: number): void;
flushBuffer(id: number): void;
}