UNPKG

intentful

Version:

Create Custom Skills with less headache

20 lines (19 loc) 601 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ParallelCommand = void 0; const command_1 = require("./command"); const helpers_1 = require("../interfaces/helpers"); class ParallelCommand extends command_1.Command { constructor(props) { super('Parallel', props); } commandSpecificModel() { return { commands: this.props.commands }; } commandSpecificRequestHandlers() { return (0, helpers_1.convertCommandListToRequestHandlers)(this.props.commands); } } exports.ParallelCommand = ParallelCommand;