Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { Writable } from 'node:stream';
import { Command } from '../command.js';
import { FlowController } from './flow-controller.js';
/**
* Kills processes and aborts further command spawning on output stream error (namely, SIGPIPE).
*/
export declare class OutputErrorHandler implements FlowController {
private readonly outputStream;
private readonly abortController;
constructor({ abortController, outputStream, }: {
abortController: AbortController;
outputStream: Writable;
});
handle(commands: Command[]): {
commands: Command[];
onFinish: () => void;
};
}