mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 11:40:21 +00:00 
			
		
		
		
	Added log message for server event listener
This commit is contained in:
		
							parent
							
								
									2c883245f7
								
							
						
					
					
						commit
						99df9c7643
					
				@ -99,6 +99,7 @@ fn main() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    // Create a thread to handle server events:
 | 
					    // Create a thread to handle server events:
 | 
				
			||||||
    tauri::async_runtime::spawn(async move {
 | 
					    tauri::async_runtime::spawn(async move {
 | 
				
			||||||
 | 
					        info!("Start listening for server events...");
 | 
				
			||||||
        loop {
 | 
					        loop {
 | 
				
			||||||
            match receiver.recv().await {
 | 
					            match receiver.recv().await {
 | 
				
			||||||
                Some(ServerEvent::Started) => {
 | 
					                Some(ServerEvent::Started) => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user