TenantAtlas/apps/platform/.pnpm-store/v10/files/56/f7497fb5ab2c460e2efc3ecbd36dbcc91d23d51d052b0823102821fdd05c68cbef3f1315b90e09c80f05ca9e84b1b5e3dd426d957c6498026d61e2e1f6af43
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

22 lines
687 B
Plaintext

import { Command, SpawnCommand } from '../command';
import { Logger } from '../logger';
import { FlowController } from './flow-controller';
export declare class Teardown implements FlowController {
private readonly logger;
private readonly spawn;
private readonly teardown;
constructor({ logger, spawn, commands, }: {
logger: Logger;
/**
* Which function to use to spawn commands.
* Defaults to the same used by the rest of concurrently.
*/
spawn?: SpawnCommand;
commands: readonly string[];
});
handle(commands: Command[]): {
commands: Command[];
onFinish: () => Promise<void>;
};
}