(command: string, ...args: any[])
| 362 | } |
| 363 | |
| 364 | protected triggerCommand<T>(command: string, ...args: any[]): Promise<T> { |
| 365 | if (this._errorSource) { |
| 366 | return triggerCommandWithTrace<T>({ |
| 367 | name: command, |
| 368 | arguments: args, |
| 369 | errorSource: this._errorSource, |
| 370 | }) |
| 371 | } |
| 372 | return ensureAwaited(error => triggerCommandWithTrace<T>({ |
| 373 | name: command, |
| 374 | arguments: args, |
| 375 | errorSource: error, |
| 376 | })) |
| 377 | } |
| 378 | } |
| 379 | |
| 380 | export function triggerCommandWithTrace<T>( |
nothing calls this directly
no test coverage detected