MCPcopy Create free account
hub / github.com/chhoumann/quickadd / executeNestedChoice

Method executeNestedChoice

src/engine/MacroChoiceEngine.ts:572–584  ·  view source on GitHub ↗
(command: INestedChoiceCommand)

Source from the content-addressed store, hash-verified

570 }
571
572 private async executeNestedChoice(command: INestedChoiceCommand) {
573 const choice: IChoice = command.choice;
574 if (!choice) {
575 log.logError(`choice in ${command.name} is invalid`);
576 return;
577 }
578
579 await this.choiceExecutor.execute(choice);
580 const abort = this.choiceExecutor.consumeAbortSignal?.();
581 if (abort) {
582 throw abort;
583 }
584 }
585
586 private async executeEditorCommand(command: IEditorCommand) {
587 switch (command.editorCommandType) {

Callers 2

executeCommandsMethod · 0.95

Calls 3

logErrorMethod · 0.65
executeMethod · 0.65
consumeAbortSignalMethod · 0.65

Tested by

no test coverage detected