MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / unsubscribe_all

Method unsubscribe_all

crates/opencode-core/src/bus.rs:118–121  ·  view source on GitHub ↗
(&self, id: u64)

Source from the content-addressed store, hash-verified

116 }
117
118 pub async fn unsubscribe_all(&self, id: u64) {
119 let mut wildcard = self.wildcard_subscribers.write().await;
120 wildcard.retain(|s| s.id != id);
121 }
122
123 pub fn subscribe_channel(&self) -> broadcast::Receiver<BusEvent> {
124 self.tx.subscribe()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected