MCPcopy Create free account
hub / github.com/GCWing/BitFun / get_remote_terminal_manager_async

Method get_remote_terminal_manager_async

src/apps/desktop/src/api/app_state.rs:386–394  ·  view source on GitHub ↗

Get remote terminal manager synchronously (must be called within async context)

(
        &self,
    )

Source from the content-addressed store, hash-verified

384
385 /// Get remote terminal manager synchronously (must be called within async context)
386 pub async fn get_remote_terminal_manager_async(
387 &self,
388 ) -> Result<RemoteTerminalManager, SSHServiceError> {
389 self.remote_terminal_manager
390 .read()
391 .await
392 .clone()
393 .ok_or(SSHServiceError::TerminalManagerNotInitialized)
394 }
395
396 /// Set current remote workspace
397 pub async fn set_remote_workspace(

Callers 1

set_remote_workspaceMethod · 0.80

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected