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

Method clear

python/copilot/generated/rpc.py:26639–26641  ·  view source on GitHub ↗

Clears all pending queued items on the local session.

(self, *, timeout: float | None = None)

Source from the content-addressed store, hash-verified

26637 return QueueRemoveMostRecentResult.from_dict(await self._client.request("session.queue.removeMostRecent", {"sessionId": self._session_id}, **_timeout_kwargs(timeout)))
26638
26639 async def clear(self, *, timeout: float | None = None) -> None:
26640 "Clears all pending queued items on the local session."
26641 await self._client.request("session.queue.clear", {"sessionId": self._session_id}, **_timeout_kwargs(timeout))
26642
26643
26644# Experimental: this API group is experimental and may change or be removed.

Calls 2

_timeout_kwargsFunction · 0.85
requestMethod · 0.45