MCPcopy Index your code
hub / github.com/reactive-python/reactpy / send

Function send

src/py/reactpy/reactpy/backend/flask.py:186–187  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

184
185 def model_stream(ws: WebSocket, path: str = "") -> None:
186 def send(value: Any) -> None:
187 ws.send(json.dumps(value))
188
189 def recv() -> Any:
190 return json.loads(ws.receive())

Callers 2

run_sendFunction · 0.70
_single_outgoing_loopFunction · 0.50

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected