MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / remove

Method remove

crates/openshell-server/src/sandbox_watch.rs:56–59  ·  view source on GitHub ↗

Remove the bus entry for the given sandbox id. This drops the broadcast sender, closing any active receivers with `RecvError::Closed`.

(&self, sandbox_id: &str)

Source from the content-addressed store, hash-verified

54 /// This drops the broadcast sender, closing any active receivers with
55 /// `RecvError::Closed`.
56 pub fn remove(&self, sandbox_id: &str) {
57 let mut inner = self.inner.lock().expect("sandbox watch bus lock poisoned");
58 inner.remove(sandbox_id);
59 }
60}
61
62/// Helper to translate broadcast lag into a gRPC status.

Calls

no outgoing calls