(action: IPresetCommand, p?: any)
| 489 | |
| 490 | // execute the preset command action |
| 491 | async execPreset(action: IPresetCommand, p?: any) { |
| 492 | if (this.presetCommandManager) { |
| 493 | return await this.presetCommandManager.execPreset(action, p); |
| 494 | } |
| 495 | throw new Error(`Preset Manager does not exist`); |
| 496 | } |
| 497 | |
| 498 | setPreset(action: IPresetCommand, cmd: InstanceCommand) { |
| 499 | this.presetCommandManager.setPreset(action, cmd); |
no outgoing calls
no test coverage detected