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

Method close

ci/rpc_client.py:283–289  ·  view source on GitHub ↗

Close serial connection (async).

(self)

Source from the content-addressed store, hash-verified

281 )
282
283 async def close(self) -> None:
284 """Close serial connection (async)."""
285 self._connected = False
286 if self._serial is not None:
287 await self._serial.close()
288 self._serial = None
289 await asyncio.sleep(0) # Yield control
290
291 async def drain_boot_output(
292 self, max_lines: int = 100, verbose: bool = False

Callers 12

__aexit__Method · 0.95
run_gpio_pretestFunction · 0.95
run_pin_discoveryFunction · 0.95
run_ota_autoresearchFunction · 0.95
run_net_autoresearchFunction · 0.95
_run_simd_testsFunction · 0.95
_run_coroutine_testsFunction · 0.95
_run_rpc_testsFunction · 0.95
run_ble_autoresearchFunction · 0.95
run_sweepFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected