MCPcopy Create free account
hub / github.com/FastLED/FastLED / _check_interrupt

Method _check_interrupt

ci/rpc_client.py:726–729  ·  view source on GitHub ↗

Check for KeyboardInterrupt signal.

(self)

Source from the content-addressed store, hash-verified

724 raise RpcTimeoutError(f"No response with ID {expected_id} within {timeout}s")
725
726 def _check_interrupt(self) -> None:
727 """Check for KeyboardInterrupt signal."""
728 if is_interrupted():
729 raise KeyboardInterrupt()
730
731 async def __aenter__(self) -> "RpcClient":
732 """Async context manager entry - connects to device."""

Callers 4

connectMethod · 0.95
drain_boot_outputMethod · 0.95
send_and_matchMethod · 0.95
_wait_for_responseMethod · 0.95

Calls 1

is_interruptedFunction · 0.90

Tested by

no test coverage detected