MCPcopy Create free account
hub / github.com/avibe-bot/avibe / mark_run_active

Method mark_run_active

modules/agents/opencode/server.py:332–334  ·  view source on GitHub ↗
(self, session_id: str)

Source from the content-addressed store, hash-verified

330 return bool(self._active_run_sessions)
331
332 async def mark_run_active(self, session_id: str) -> None:
333 async with self._get_lock():
334 self._active_run_sessions.add(session_id)
335
336 async def mark_run_inactive(self, session_id: str) -> None:
337 async with self._get_lock():

Callers 2

_process_messageMethod · 0.45

Calls 1

_get_lockMethod · 0.95

Tested by

no test coverage detected