MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / read_stdin_line

Function read_stdin_line

23_websockets_client/python/ws_client.py:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6async def read_stdin_line():
7 loop = asyncio.get_event_loop()
8 return await loop.run_in_executor(None, sys.stdin.readline)
9
10
11async def stdin_to_ws(websocket):

Callers 1

stdin_to_wsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected