botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
22 lines • 897 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OnEndOfActions = void 0;
const onDialogEvent_1 = require("./onDialogEvent");
const adaptiveEvents_1 = require("../adaptiveEvents");
/**
* Triggered when all actions and ambiguity events have been processed.
*/
class OnEndOfActions extends onDialogEvent_1.OnDialogEvent {
/**
* Creates a new `OnEndOfActions` instance.
*
* @param actions (Optional) The actions to add to the plan when the rule constraints are met.
* @param condition (Optional) The condition which needs to be met for the actions to be executed.
*/
constructor(actions = [], condition) {
super(adaptiveEvents_1.AdaptiveEvents.endOfActions, actions, condition);
}
}
exports.OnEndOfActions = OnEndOfActions;
OnEndOfActions.$kind = 'Microsoft.OnEndOfActions';
//# sourceMappingURL=onEndOfActions.js.map