Skip to content

Commit

Permalink
Zowe Suite v1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zowe-robot authored Jul 7, 2020
2 parents 96cf64b + f32403f commit b13fbd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions base/src/dispatcher/dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -784,9 +784,9 @@ export class Dispatcher implements ZLUX.Dispatcher {
}
}

invokeAction(action:Action, eventContext: any, targetId?: number):any{
invokeAction(action:Action, eventContext: any, targetId?: number): Promise<void> {
this.log.info("ZWED5042I", JSON.stringify(eventContext)); //this.log.info("dispatcher.invokeAction on context "+JSON.stringify(eventContext));
this.getActionTarget(action,eventContext).then( (target: ActionTarget) => {
return this.getActionTarget(action,eventContext).then( (target: ActionTarget) => {
const wrapper = target.wrapper;
switch (action.type) {
case ActionType.Launch:
Expand Down
2 changes: 1 addition & 1 deletion interface/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ declare namespace ZLUX {
callEveryone(eventName: string, data: Object, failOnError: boolean): Promise<any>;
registerEventListener(eventName: string, callback: EventListenerOrEventListenerObject | null, appId: string): void;
deregisterEventListener(eventName: string, callback: EventListenerOrEventListenerObject | null, appId: string, pluginId:string): void;
invokeAction(action: Action, eventContext: any, targetId?: number): any;
invokeAction(action: Action, eventContext: any, targetId?: number): Promise<void>;
makeAction(id: string, defaultName: string, targetMode: ActionTargetMode, type: ActionType, targetPluginID: string, primaryArgument: any): Action;
makeActionFromObject(action: AbstractAction): AbstractAction;
registerApplicationCallbacks(plugin: Plugin, applicationInstanceId: any, callbacks: ApplicationCallbacks): void;
Expand Down

0 comments on commit b13fbd4

Please sign in to comment.