wip: request (and store) debug data in the connection (#6698)

Add in new Debug stubs to the connection
This commit is contained in:
Paul Tagliamonte
2025-05-07 12:10:40 -04:00
committed by GitHub
parent f8a33a63ac
commit 2b3dfaf023
5 changed files with 67 additions and 1 deletions

View File

@ -194,6 +194,12 @@ pub trait EngineManager: std::fmt::Debug + Send + Sync + 'static {
self.async_tasks().clear().await;
}
/// Fetch debug information from the peer.
async fn fetch_debug(&self) -> Result<(), crate::errors::KclError>;
/// Get any debug information (if requested)
async fn get_debug(&self) -> Option<OkWebSocketResponseData>;
/// Send a modeling command and do not wait for the response message.
async fn inner_fire_modeling_cmd(
&self,