socket tools

This commit is contained in:
CHIEFSOFT\ameye
2024-03-17 08:08:16 -04:00
parent b289c032cc
commit 53c036085f
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -42,11 +42,14 @@ export class SocketToolsService {
this.connectionSubject = new BehaviorSubject<boolean>(false);
this.socket.on('receive_message', () => {
debugger;
const event = new Event("app-taskactivities-refresh");
dispatchEvent(event);
});
this.socket.on('received_refreshmarket_jobs', (data) => {
debugger
});
this.socket.on('connect', () => {
this.connectionSubject.next(true);