TenantAtlas/apps/platform/.pnpm-store/v10/files/c1/ee422dccf8766fe050287b3e658087dcaf425194e4e8df16069829aa200602855fd051d6730fd0cdb6197915096c813b0fa985f238a604335f5c6b79b3139e
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

19 lines
606 B
Plaintext

import { Writable } from 'stream';
import { Command } from '../command';
import { FlowController } from './flow-controller';
/**
* 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;
};
}