1 | import { Command, CommandResult } from './Command';
|
2 | export interface CommandExec {
|
3 | (command: Command): Promise<CommandResult>;
|
4 | }
|
5 | export declare class CommandGroup {
|
6 | private readonly commands;
|
7 | protected constructor(commands: Command[]);
|
8 | static from(...commands: Command[]): CommandGroup;
|
9 | parallel(exec?: CommandExec): Promise<CommandResult[]>;
|
10 | serial(exec?: CommandExec): Promise<CommandResult[]>;
|
11 | }
|
12 | //# sourceMappingURL=CommandGroup.d.ts.map |
\ | No newline at end of file |