hugoWebsite/node_modules/concurrently/dist/src/output-writer.d.ts
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

19 lines
584 B
TypeScript

/// <reference types="node" />
import { Writable } from 'stream';
import { Command } from './command';
/**
* Class responsible for actually writing output onto a writable stream.
*/
export declare class OutputWriter {
private readonly outputStream;
private readonly group;
readonly buffers: string[][];
activeCommandIndex: number;
constructor({ outputStream, group, commands, }: {
outputStream: Writable;
group: boolean;
commands: Command[];
});
write(command: Command | undefined, text: string): void;
private flushBuffer;
}