mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 06:12:54 +00:00 
			
		
		
		
	Add support for stateless ProcessManagerService in webide
This commit is contained in:
		@@ -46,7 +46,7 @@ export class WebideComponent implements OnInit {
 | 
			
		||||
    this.webSocketService.connect();
 | 
			
		||||
    this.subscribeWS();
 | 
			
		||||
    this.requestCode();
 | 
			
		||||
    this.processManagerService.init('login');
 | 
			
		||||
    this.processManagerService.init();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  subscribeWS() {
 | 
			
		||||
@@ -89,7 +89,7 @@ export class WebideComponent implements OnInit {
 | 
			
		||||
      'content': this.code
 | 
			
		||||
    });
 | 
			
		||||
    this.saveButtonState = 'SAVING';
 | 
			
		||||
    this.processManagerService.restartProcess((event) => { console.log('CICÁK!!'); });
 | 
			
		||||
    this.processManagerService.restartProcess('login', (event) => { console.log('CICÁK!!'); });
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  requestCode() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user