MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / unsubscribe

Method unsubscribe

uncommon_route/events.py:30–32  ·  view source on GitHub ↗
(self, queue: asyncio.Queue[dict[str, Any]])

Source from the content-addressed store, hash-verified

28 return queue
29
30 async def unsubscribe(self, queue: asyncio.Queue[dict[str, Any]]) -> None:
31 async with self._lock:
32 self._subscribers.discard(queue)
33
34 def publish(self, event: dict[str, Any]) -> None:
35 """Non-blocking fan-out. Safe to call from any async context."""

Callers 1

_genFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected