import { Dashboard } from "../commands/Dashboard" ; import { DashboardCommand } from "../dashboardWebView/DashboardCommand" ; import { DashboardMessage } from "../dashboardWebView/DashboardMessage" ; import { Logger } from "../helpers/Logger" ; export abstract class BaseListener { public static process ( msg ) { } param command param data public static sendMsg ( command , data ) { Logger . info ( `Sending message to webview: ${ command }` ) ; Dashboard . postWebviewMessage ( { command , data } ) ; } }