File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
45
45
46
46
const api : ICommandBridgeRemote = {
47
47
async execute ( command : string , args : ReadonlyPartialJSONObject ) {
48
- await commands . execute ( command , args ) ;
48
+ return await commands . execute ( command , args ) ;
49
49
} ,
50
50
async listCommands ( ) {
51
51
return commands . listCommands ( ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export interface ICommandBridgeRemote {
12
12
* @param command - The name of the command to execute.
13
13
* @param args - An object containing arguments for the command.
14
14
*/
15
- execute ( command : string , args : ReadonlyPartialJSONObject ) : void ;
15
+ execute ( command : string , args : ReadonlyPartialJSONObject ) : Promise < any > ;
16
16
17
17
/**
18
18
* Lists all available commands.
You can’t perform that action at this time.
0 commit comments