socket tools
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user