We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Import the socket service import { NlfSocketService } from 'app/services/socket/socket.service';
import { NlfSocketService } from 'app/services/socket/socket.service';
Instantiate constructor(private socketService: NlfSocketService) {}
constructor(private socketService: NlfSocketService) {}
Then access the socket directly like:
this.socketService.socket.on('action', (message) => { switch (message.action) { case 'obsreg_e5x_finished_processing': { ... } } }
There was an error while loading. Please reload this page.