UNPKG

intentful

Version:

Create Custom Skills with less headache

14 lines (13 loc) 617 B
import { Command, CommandModel, CommandProps } from './command'; import { LabeledRequestHandler } from '../../skill/models'; export interface ParallelCommandModel extends CommandModel { commands: Command<CommandModel, CommandProps>[]; } export interface ParallelCommandProps extends CommandProps { commands: Command<CommandModel, CommandProps>[]; } export declare class ParallelCommand extends Command<ParallelCommandModel, ParallelCommandProps> { constructor(props: ParallelCommandProps); commandSpecificModel(): ParallelCommandModel; commandSpecificRequestHandlers(): LabeledRequestHandler[]; }