- constructor(uiService: AbstractUIService) {
- super();
- this.uiService = uiService;
- this.onmessage = this.responseHandler.bind(this) as (message: unknown) => void;
- this.onmessageerror = this.messageErrorHandler.bind(this) as (message: unknown) => void;
- this.responses = new Map<string, Responses>();
+ constructor (uiService: AbstractUIService) {
+ super()
+ this.uiService = uiService
+ this.onmessage = this.responseHandler.bind(this) as (message: unknown) => void
+ this.onmessageerror = this.messageErrorHandler.bind(this) as (message: unknown) => void
+ this.responses = new Map<string, Responses>()