MCPcopy Index your code
hub / github.com/masterking32/MasterHttpRelayVPN / _track_current_task

Method _track_current_task

src/proxy/proxy_server.py:300–304  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

298 return tuple(normalized), any_extension
299
300 def _track_current_task(self) -> asyncio.Task | None:
301 task = asyncio.current_task()
302 if task is not None:
303 self._client_tasks.add(task)
304 return task
305
306 def _untrack_task(self, task: asyncio.Task | None) -> None:
307 if task is not None:

Callers 2

_on_clientMethod · 0.95
_on_socks_clientMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected