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

Function start_http_server

ci/wasm_audio_url_test.py:105–112  ·  view source on GitHub ↗
(port: int, directory: Path)

Source from the content-addressed store, hash-verified

103
104
105def start_http_server(port: int, directory: Path) -> multiprocessing.Process:
106 server_process = multiprocessing.Process(
107 target=_run_http_server,
108 args=(port, str(directory)),
109 daemon=True,
110 )
111 server_process.start()
112 return server_process
113
114
115async def main() -> None:

Callers 1

mainFunction · 0.70

Calls 1

startMethod · 0.45

Tested by

no test coverage detected