MCPcopy
hub / github.com/pyodide/pyodide / data_received

Method data_received

src/tests/test_python_socket.py:810–811  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

808 self.done = asyncio.get_event_loop().create_future()
809
810 def data_received(self, data):
811 self.received.extend(data)
812
813 def connection_lost(self, exc):
814 if not self.done.done():

Callers

nothing calls this directly

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected