mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-02 04:06:23 +00:00
Implement solution check forwarding
This commit is contained in:
@ -22,7 +22,7 @@ export class ConsoleComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
this.webSocketService.connect();
|
||||
this.webSocketService.observeKey<WebSocketMessage>('console').subscribe(
|
||||
this.webSocketService.observeControl<WebSocketMessage>('console').subscribe(
|
||||
message => this.command_handlers[message.key](message)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user