Can commandRegistry.executeCommand return a value?

Hi all,

Could you please provide an example in theia where a command handler returns a value or object ?
i.e., the caller calls a command thru commandRegistry.executeCommand and can it use the return value?

@rs here’s an example:

Thank you very much, I shall try this.

1 Like