update
Took 7 hours 48 minutes
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import {WebSocketPayload} from "./WebSocketPayload";
|
||||
import {WebSocketEvent} from "./WebSocketEvent";
|
||||
import {iTender} from "./iTender";
|
||||
import {Settings} from "./Settings";
|
||||
|
||||
export class WebSocketHandler {
|
||||
private static _ws: WebSocket;
|
||||
@ -33,4 +34,10 @@ export class WebSocketHandler {
|
||||
});
|
||||
}
|
||||
|
||||
static sendRunningConfig() {
|
||||
return new Promise(resolve => {
|
||||
let payload = new WebSocketPayload(WebSocketEvent.CONFIG, false, Settings.json);
|
||||
WebSocketHandler.send(payload).then(resolve);
|
||||
})
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user