MCPcopy Create free account
hub / github.com/agentic-labs/lsproxy / Process

Interface Process

lsproxy/src/lsp/process.rs:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7#[async_trait::async_trait]
8pub trait Process: Send + Sync {
9 async fn send(&mut self, data: &str) -> Result<(), Box<dyn Error + Send + Sync>>;
10 async fn receive(&self) -> Result<String, Box<dyn Error + Send + Sync>>;
11}
12
13#[derive(Clone)]
14pub struct ProcessHandler {

Callers

nothing calls this directly

Implementers 1

process.rslsproxy/src/lsp/process.rs

Calls

no outgoing calls

Tested by

no test coverage detected