blob: b518aad1928272931fe834f73ba07e2c9169fcfa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { Command } from '../command';
/**
* Interface for a class that controls and/or watches the behavior of commands.
*
* This may include logging their output, creating interactions between them, or changing when they
* actually finish.
*/
export interface FlowController {
handle(commands: Command[]): {
commands: Command[];
onFinish?: () => void;
};
}
|