MCPcopy Index your code
hub / github.com/github/copilot-sdk / poll

Function poll

python/e2e/test_client_lifecycle_e2e.py:38–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 last_id = None
37
38 async def poll() -> bool:
39 nonlocal last_id
40 last_id = await client.get_last_session_id()
41 return bool(last_id)
42
43 deadline = asyncio.get_running_loop().time() + 10.0
44 while True:

Callers 2

stopMethod · 0.85

Calls 1

get_last_session_idMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…